diff mbox

[Branch,~linaro-validation/lava-test/trunk] Rev 160: Refactor gatortests to use package from Linaro Overlay PPA. (LP: #1007237)

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

Commit Message

Fathi Boudra June 11, 2012, 5 p.m. UTC
Merge authors:
  Fathi Boudra (fboudra)
Related merge proposals:
  https://code.launchpad.net/~fboudra/lava-test/fix-gatortests-bug1007237/+merge/109678
  proposed by: Fathi Boudra (fboudra)
------------------------------------------------------------
revno: 160 [merge]
committer: Fathi Boudra <fathi.boudra@linaro.org>
branch nick: lava-test
timestamp: Mon 2012-06-11 19:58:37 +0300
message:
  Refactor gatortests to use package from Linaro Overlay PPA. (LP: #1007237)
modified:
  lava_test/test_definitions/gatortests.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/gatortests.py'
--- lava_test/test_definitions/gatortests.py	2012-06-06 17:42:12 +0000
+++ lava_test/test_definitions/gatortests.py	2012-06-11 16:51:40 +0000
@@ -1,5 +1,4 @@ 
-
-# Copyright (c) 2010, 2011, 2012  Linaro
+# Copyright (c) 2010-2012  Linaro
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -15,8 +14,7 @@ 
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 """
-gatortests  - tests for streamline gator driver and daemon
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+gatortests - tests for streamline gator driver and daemon
 
 """
 
@@ -25,14 +23,20 @@ 
 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"]
+INSTALLSTEPS = ['']
+DEPS = ['gatortests']
+
+RUNSTEPS = ["gatortests"]
+DEFAULT_OPTIONS = ""
+
 PATTERN = "^\*\*\*(?P<test_case_id>\w+):\s(?P<result>\w+)\*\*\*"
 
-DEFAULT_OPTIONS = ""
-
-installer = TestInstaller(INSTALLSTEPS, deps=["bzr", "python"])
+installer = TestInstaller(INSTALLSTEPS, deps=DEPS)
 runner = TestRunner(RUNSTEPS,default_options=DEFAULT_OPTIONS)
 parser = TestParser(pattern=PATTERN)
-testobj = Test(test_id="gatortests", installer=installer,runner=runner, parser=parser)
 
+testobj = Test(
+    test_id="gatortests",
+    installer=installer,
+    runner=runner,
+    parser=parser)