=== modified file 'lava_test/test_definitions/browser_benchmarks.py'
@@ -19,7 +19,7 @@
Use Selenium WebDriver to automatically run browser benchmarks
and scrape the results.
-**URL:** https://code.launchpad.net/~linaro-foundations/linaro-ubuntu/browser-benchmarks
+**URL:** https://code.launchpad.net/~linaro-foundations/linaro-ubuntu/lava-test-browser-benchmarks
**Default Options:** None
"""
@@ -34,15 +34,11 @@
DEPS = ["bzr", "python-pip", "chromium-browser", "firefox"]
INSTALLSTEPS = ['pip install selenium']
RUNSTEPS = ["cd lava-test-browser-benchmarks; bash -x ./run-test.sh; pwd"]
-PATTERN = "(?P<test_case_id>[a-zA-Z0-9_-]+):\s(?P<result>\w+)"
-FIXUPS = {
- "PASS": "pass",
- "FAIL": "fail"
-}
+PATTERN = "^(?P<test_case_id>\w+):\W+(?P<measurement>\d+)"
installer = TestInstaller(INSTALLSTEPS, deps=DEPS, bzr_repos=BZR_REPOS)
runner = TestRunner(RUNSTEPS, default_options=DEFAULT_OPTIONS)
-parser = TestParser(PATTERN, fixupdict=FIXUPS)
+parser = TestParser(PATTERN, appendall={'units': 'score', 'result': 'pass'})
testobj = Test(
test_id="browser-benchmarks",
------------------------------------------------------------ revno: 186 committer: John Rigby <john.rigby@linaro.org> branch nick: trunk timestamp: Fri 2012-10-26 14:04:00 -0600 message: Add proper result parsing for browser-benchmarks Signed-off-by: John Rigby <john.rigby@linaro.org> modified: lava_test/test_definitions/browser_benchmarks.py -- lp:lava-test https://code.launchpad.net/~linaro-validation/lava-test/trunk You are subscribed to branch lp:lava-test. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-test/trunk/+edit-subscription