diff options
author | Steven Knight <knight@baldmt.com> | 2010-01-26 16:26:26 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-01-26 16:26:26 (GMT) |
commit | f5a80d8cf4143edd7434805a568cc0e7eeaf81c0 (patch) | |
tree | 3608231e6b538a5222c7d501cbd9ce8d8ef08c76 /test/runtest/baseline/pass.py | |
parent | b21c0b3f84d0b064e9d2dd548e0b6d246a537afb (diff) | |
download | SCons-f5a80d8cf4143edd7434805a568cc0e7eeaf81c0.zip SCons-f5a80d8cf4143edd7434805a568cc0e7eeaf81c0.tar.gz SCons-f5a80d8cf4143edd7434805a568cc0e7eeaf81c0.tar.bz2 |
Win32 portability in runtest.py tests after disabling QMTest by default.
Diffstat (limited to 'test/runtest/baseline/pass.py')
-rw-r--r-- | test/runtest/baseline/pass.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/runtest/baseline/pass.py b/test/runtest/baseline/pass.py index ef3a99e..77cd84d 100644 --- a/test/runtest/baseline/pass.py +++ b/test/runtest/baseline/pass.py @@ -28,9 +28,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" Test how we handle a passing test specified on the command line. """ +import os + import TestRuntest -python = TestRuntest.python +pythonstring = TestRuntest.pythonstring +test_pass_py = os.path.join('test', 'pass.py') test = TestRuntest.TestRuntest() @@ -39,7 +42,7 @@ test.subdir('test') test.write_passing_test(['test', 'pass.py']) expect_stdout = """\ -%(python)s -tt test/pass.py +%(pythonstring)s -tt %(test_pass_py)s PASSING TEST STDOUT """ % locals() |