[Branch,~linaro-validation/lava-test/trunk] Rev 159: Add bzr dependency to perf and gatortests tests.

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

Commit Message

Fathi Boudra June 7, 2012, 8:44 a.m.
Merge authors:
  Fathi Boudra (fboudra)
Related merge proposals:
  https://code.launchpad.net/~fboudra/lava-test/add-bzr-dependency/+merge/109003
  proposed by: Fathi Boudra (fboudra)
------------------------------------------------------------
revno: 159 [merge]
committer: Fathi Boudra <fathi.boudra@linaro.org>
branch nick: lava-test
timestamp: Thu 2012-06-07 11:42:00 +0300
message:
  Add bzr dependency to perf and gatortests tests.
modified:
  lava_test/test_definitions/gatortests.py
  lava_test/test_definitions/perf.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/gatortests.py'
--- lava_test/test_definitions/gatortests.py	2012-03-16 12:41:05 +0000
+++ lava_test/test_definitions/gatortests.py	2012-06-06 17:42:12 +0000
@@ -25,17 +25,14 @@ 
 from lava_test.core.runners import TestRunner
 from lava_test.core.tests import Test
 
-
 INSTALLSTEPS = ['bzr branch lp:~stubbsdm/+junk/gator-tests']
 RUNSTEPS = ["python gator-tests/gatortests.py"]
 PATTERN = "^\*\*\*(?P<test_case_id>\w+):\s(?P<result>\w+)\*\*\*"
 
-
 DEFAULT_OPTIONS = ""
 
-installer = TestInstaller(INSTALLSTEPS, deps=["python"])
+installer = TestInstaller(INSTALLSTEPS, deps=["bzr", "python"])
 runner = TestRunner(RUNSTEPS,default_options=DEFAULT_OPTIONS)
 parser = TestParser(pattern=PATTERN)
 testobj = Test(test_id="gatortests", installer=installer,runner=runner, parser=parser)
 
-

=== modified file 'lava_test/test_definitions/perf.py'
--- lava_test/test_definitions/perf.py	2012-04-19 14:35:00 +0000
+++ lava_test/test_definitions/perf.py	2012-06-06 17:42:12 +0000
@@ -28,7 +28,7 @@ 
 from lava_test.core.tests import Test
 
 DEFAULT_OPTIONS = ""
-DEPS = ["linux-tools", "stress"]
+DEPS = ["bzr", "linux-tools", "stress"]
 INSTALLSTEPS = ["bzr branch lp:~linaro-maintainers/lava-test/lava-test-perf"]
 RUNSTEPS = ["cp lava-test-perf/run-perf-test.sh .; sudo bash ./run-perf-test.sh"]
 PATTERN = "^(?P<test_case_id>[\w\s-]+)\s+:\s+(?P<result>\w+)"