summaryrefslogtreecommitdiffstats
path: root/etc/TestSCons.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-01-15 05:41:30 (GMT)
committerSteven Knight <knight@baldmt.com>2003-01-15 05:41:30 (GMT)
commit284db25033af74d831c2e6c0f18c3e9415115705 (patch)
tree2d7f5c5c38fe6f5cfcce5fc25613150c8aefee20 /etc/TestSCons.py
parent64d27f9efc30088f70214b4585b83707c56f6c0a (diff)
downloadSCons-284db25033af74d831c2e6c0f18c3e9415115705.zip
SCons-284db25033af74d831c2e6c0f18c3e9415115705.tar.gz
SCons-284db25033af74d831c2e6c0f18c3e9415115705.tar.bz2
Necessary changes towards supporting Jython.
Diffstat (limited to 'etc/TestSCons.py')
-rw-r--r--etc/TestSCons.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/TestSCons.py b/etc/TestSCons.py
index 4b392d4..219046b 100644
--- a/etc/TestSCons.py
+++ b/etc/TestSCons.py
@@ -22,6 +22,8 @@ import sys
import TestCmd
+python = TestCmd.python_executable
+
class TestFailed(Exception):
def __init__(self, args=None):
self.args = args
@@ -82,7 +84,7 @@ class TestSCons(TestCmd.TestCmd):
else:
kw['program'] = 'scons.py'
if not kw.has_key('interpreter') and not os.environ.get('SCONS_EXEC'):
- kw['interpreter'] = sys.executable
+ kw['interpreter'] = python
if not kw.has_key('match'):
kw['match'] = TestCmd.match_exact
if not kw.has_key('workdir'):