diff options
author | Greg Noel <GregNoel@tigris.org> | 2010-03-25 04:14:28 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2010-03-25 04:14:28 (GMT) |
commit | 22d352500f1cd6bd0c53d788a5dc44a1fefa676e (patch) | |
tree | 0984fd581082c27cfbfbb7f94d5751b0e6fd2741 /test/runtest/fallback.py | |
parent | 75ac32ac8e32076e25b72a19eb56340cc585fa4e (diff) | |
download | SCons-22d352500f1cd6bd0c53d788a5dc44a1fefa676e.zip SCons-22d352500f1cd6bd0c53d788a5dc44a1fefa676e.tar.gz SCons-22d352500f1cd6bd0c53d788a5dc44a1fefa676e.tar.bz2 |
Move 2.0 changes collected in branches/pending back to trunk for further
development. Note that this set of changes is NOT backward-compatible;
the trunk no longer works with Python 1.5.2, 2.0, or 2.1.
Diffstat (limited to 'test/runtest/fallback.py')
-rw-r--r-- | test/runtest/fallback.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/runtest/fallback.py b/test/runtest/fallback.py index 6a971f8..027d79d 100644 --- a/test/runtest/fallback.py +++ b/test/runtest/fallback.py @@ -30,7 +30,6 @@ if it can't find qmtest on the $PATH. """ import os -import string import TestRuntest @@ -42,9 +41,9 @@ test = TestRuntest.TestRuntest(noqmtest=1) while test.where_is('qmtest'): qmtest=test.where_is('qmtest') dir = os.path.split(qmtest)[0] - path = string.split(os.environ['PATH'], os.pathsep) + path = os.environ['PATH'].split(os.pathsep) path.remove(dir) - os.environ['PATH'] = string.join(path, os.pathsep) + os.environ['PATH'] = os.pathsep.join(path) test.subdir('test') @@ -83,7 +82,7 @@ testlist = [ test_pass_py, ] -test.run(arguments = string.join(testlist), +test.run(arguments = ' '.join(testlist), status = 1, stdout = expect_stdout, stderr = expect_stderr) |