summaryrefslogtreecommitdiffstats
path: root/QMTest/TestRuntest.py
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2010-04-21 15:13:26 (GMT)
committerGreg Noel <GregNoel@tigris.org>2010-04-21 15:13:26 (GMT)
commit57f9a905465a6022db0f0033c956afaecadc5d70 (patch)
treeed317ae6759a0bb9ba2e8a20a93a5f2b6981c876 /QMTest/TestRuntest.py
parentfcd10ca3c39538542594aec5f894fc00fa58bdb1 (diff)
downloadSCons-57f9a905465a6022db0f0033c956afaecadc5d70.zip
SCons-57f9a905465a6022db0f0033c956afaecadc5d70.tar.gz
SCons-57f9a905465a6022db0f0033c956afaecadc5d70.tar.bz2
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/TestRuntest.py')
-rw-r--r--QMTest/TestRuntest.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/QMTest/TestRuntest.py b/QMTest/TestRuntest.py
index 11f8ab2..c8b5893 100644
--- a/QMTest/TestRuntest.py
+++ b/QMTest/TestRuntest.py
@@ -26,14 +26,9 @@ from TestCommon import *
from TestCommon import __all__
__all__.extend([ 'TestRuntest',
- 'python',
'pythonstring',
- '_python_',
])
-python = python_executable
-_python_ = '"' + python_executable + '"'
-
if re.search('\s', python):
pythonstring = _python_
else: