diff options
author | Greg Noel <GregNoel@tigris.org> | 2010-04-21 15:13:26 +0000 |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2010-04-21 15:13:26 +0000 |
commit | 237b88a5c911997f047d17780796b995476c0eab (patch) | |
tree | ed317ae6759a0bb9ba2e8a20a93a5f2b6981c876 /QMTest/TestSCons_time.py | |
parent | 000e16d5d8d90971d76022e6d4d8e7cd9055363a (diff) | |
download | scons-237b88a5c911997f047d17780796b995476c0eab.tar.gz |
http://scons.tigris.org/issues/show_bug.cgi?id=2345
Pass the python executable from the -P option to runtest to TestCmd.py. Create the escaped executable name in TestCmd.py as well. Pass those two values into
derived test modules. Fix cascade problems in test scripts due to incorrect
assumptions about the name of the executable.
Diffstat (limited to 'QMTest/TestSCons_time.py')
-rw-r--r-- | QMTest/TestSCons_time.py | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/QMTest/TestSCons_time.py b/QMTest/TestSCons_time.py index e846ab59..ce9e0df1 100644 --- a/QMTest/TestSCons_time.py +++ b/QMTest/TestSCons_time.py @@ -22,20 +22,9 @@ import sys from TestCommon import * from TestCommon import __all__ -__all__.extend([ 'TestSCons', - 'python', - '_exe', - '_obj', - '_shobj', - 'lib_', - '_lib', - 'dll_', - '_dll' +__all__.extend([ 'TestSCons_time', ]) -python = python_executable -_python_ = '"' + python_executable + '"' - SConstruct = """\ import os print "SConstruct file directory:", os.getcwd() |