diff options
author | Eric Anholt <eric@anholt.net> | 2009-10-23 12:02:26 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-10-23 13:08:04 -0700 |
commit | bb7cb59744d12615312091321470dd8cc43a633f (patch) | |
tree | bf1bc57be5cc0c5abc0c402c102cc339b663648c /framework | |
parent | 6bf42cedc889fc299afbdb1ed05a027e3666ddf2 (diff) |
Clean up the tests lists by making PlainExecTest include the bindir.
Diffstat (limited to 'framework')
-rw-r--r-- | framework/exectest.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/exectest.py b/framework/exectest.py index 9364d17c9..582e27a83 100644 --- a/framework/exectest.py +++ b/framework/exectest.py @@ -23,7 +23,7 @@ import subprocess -from core import Test, TestResult +from core import Test, testBinDir, TestResult ############################################################################# ##### PlainExecTest: Simply run an executable @@ -34,6 +34,8 @@ class PlainExecTest(Test): def __init__(self, command): Test.__init__(self) self.command = command + # Prepend testBinDir to the path. + self.command[0] = testBinDir + self.command[0] def run(self): proc = subprocess.Popen( |