diff mbox

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

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

Commit Message

Fathi Boudra Sept. 5, 2012, 2:58 p.m. UTC
------------------------------------------------------------
revno: 170
committer: Fathi Boudra <fathi.boudra@linaro.org>
branch nick: lava-test
timestamp: Wed 2012-09-05 17:57:21 +0300
message:
  Fix 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
diff mbox

Patch

=== modified file 'lava_test/test_definitions/lt_ti_lava.py'
--- lava_test/test_definitions/lt_ti_lava.py	2012-09-05 08:51:51 +0000
+++ lava_test/test_definitions/lt_ti_lava.py	2012-09-05 14:57:21 +0000
@@ -34,16 +34,17 @@ 
 RUNSTEPS = ['cd lt_ti_lava && make $(OPTIONS) check']
 DEPS = ['git-core', 'linux-libc-dev', 'build-essential']
 
-# test case name is before  ":" , the test log is between ":" and "...",
-# the result is after "..."
+# test case id is before ":" and the result is after
 # Each test case is separated with a test description beginning with "#"
+#
+# Example:
+# ###
+# ### sd_01:
+# ### Verify the system sees at least two partitions for SD device #0
+# ### ###
+# Test ./sd_01.sh: pass
 
-PATTERN = (
-    "^(?P<test_case_id>[\w/\.]+):"
-    "\s+"
-    "(?P<message>.+)"
-    "\.\.\.\s+"
-    "(?P<result>\w+)")
+PATTERN = ("^(?P<test_case_id>[\w\s./]+):\s+(?P<result>\w+)")
 
 installer = TestInstaller(INSTALLSTEPS, deps=DEPS)
 runner = TestRunner(RUNSTEPS, default_options=DEFAULT_OPTIONS)