[Branch,~linaro-validation/lava-test/trunk] Rev 172: Update lt_ti_lava pattern.

Message ID 20120911145209.27680.87412.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Fathi Boudra Sept. 11, 2012, 2:52 p.m.
------------------------------------------------------------
revno: 172
committer: Fathi Boudra <fathi.boudra@linaro.org>
branch nick: lava-test
timestamp: Tue 2012-09-11 17:50:43 +0300
message:
  Update lt_ti_lava pattern.
modified:
  lava_test/test_definitions/lt_ti_lava.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

Patch

=== modified file 'lava_test/test_definitions/lt_ti_lava.py'
--- lava_test/test_definitions/lt_ti_lava.py	2012-09-06 06:28:22 +0000
+++ lava_test/test_definitions/lt_ti_lava.py	2012-09-11 14:50:43 +0000
@@ -42,9 +42,14 @@ 
 # ### sd_01:
 # ### Verify the system sees at least two partitions for SD device #0
 # ### ###
-# Test ./sd_01.sh: pass
+# sd_01.0: checking Verify...                                                 pass
 
-PATTERN = ("^(?P<test_case_id>[\w\s./]+):\s+(?P<result>\w+)")
+PATTERN = (
+    "^(?P<test_case_id>[\w/\.]+):"
+    "\s+"
+    "(?P<message>.+)"
+    "\.\.\.\s+"
+    "(?P<result>\w+)")
 
 installer = TestInstaller(INSTALLSTEPS, deps=DEPS)
 runner = TestRunner(RUNSTEPS, default_options=DEFAULT_OPTIONS)