summaryrefslogtreecommitdiffstats
path: root/test/runtest/src.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-01-26 16:26:26 (GMT)
committerSteven Knight <knight@baldmt.com>2010-01-26 16:26:26 (GMT)
commitf5a80d8cf4143edd7434805a568cc0e7eeaf81c0 (patch)
tree3608231e6b538a5222c7d501cbd9ce8d8ef08c76 /test/runtest/src.py
parentb21c0b3f84d0b064e9d2dd548e0b6d246a537afb (diff)
downloadSCons-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/src.py')
-rw-r--r--test/runtest/src.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/runtest/src.py b/test/runtest/src.py
index 18db972..9136a4d 100644
--- a/test/runtest/src.py
+++ b/test/runtest/src.py
@@ -29,7 +29,7 @@ Verify that we find tests under the src/ tree only if they end
with *Tests.py.
"""
-import os.path
+import os
import TestRuntest
@@ -38,7 +38,7 @@ test = TestRuntest.TestRuntest()
test.subdir(['src'],
['src', 'suite'])
-python = TestRuntest.python
+pythonstring = TestRuntest.pythonstring
src_passTests_py = os.path.join('src', 'passTests.py')
src_suite_passTests_py = os.path.join('src', 'suite', 'passTests.py')
@@ -51,9 +51,9 @@ test.write_passing_test(['src', 'suite', 'pass.py'])
test.write_passing_test(['src', 'suite', 'passTests.py'])
expect_stdout = """\
-%(python)s -tt src/passTests.py
+%(pythonstring)s -tt %(src_passTests_py)s
PASSING TEST STDOUT
-%(python)s -tt src/suite/passTests.py
+%(pythonstring)s -tt %(src_suite_passTests_py)s
PASSING TEST STDOUT
""" % locals()