[Branch,~linaro-validation/lava-test/trunk] Rev 161: make running make -k the default option for the pwrmgmt tests (Ricardo Salveti)

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

Commit Message

Michael-Doyle Hudson June 24, 2012, 10:31 p.m.
Merge authors:
  Ricardo Salveti (rsalveti)
Related merge proposals:
  https://code.launchpad.net/~rsalveti/lava-test/pwrmgmt_adding_default_option/+merge/111730
  proposed by: Ricardo Salveti (rsalveti)
------------------------------------------------------------
revno: 161 [merge]
committer: Michael Hudson-Doyle <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Mon 2012-06-25 10:29:57 +1200
message:
  make running make -k the default option for the pwrmgmt tests (Ricardo Salveti)
modified:
  lava_test/test_definitions/pwrmgmt.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/pwrmgmt.py'
--- lava_test/test_definitions/pwrmgmt.py	2012-05-25 16:06:25 +0000
+++ lava_test/test_definitions/pwrmgmt.py	2012-06-24 02:01:37 +0000
@@ -26,11 +26,12 @@ 
 from lava_test.core.runners import TestRunner
 from lava_test.core.tests import Test
 
-DEFAULT_OPTIONS = ""
+# Continue the test run in case of failures
+DEFAULT_OPTIONS = "-k"
 
 INSTALLSTEPS = ['git clone git://git.linaro.org/tools/pm-qa.git',
                 'cd pm-qa && make -C utils']
-RUNSTEPS = ['cd pm-qa && make check $(OPTIONS)']
+RUNSTEPS = ['cd pm-qa && make $(OPTIONS) check']
 DEPS = ['git-core', 'linux-libc-dev', 'build-essential']
 
 # test case name is before  ":" , the test log is between ":" and "...",