summaryrefslogtreecommitdiffstats
path: root/etc/TestCmd.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/TestCmd.py
parent64d27f9efc30088f70214b4585b83707c56f6c0a (diff)
downloadSCons-284db25033af74d831c2e6c0f18c3e9415115705.zip
SCons-284db25033af74d831c2e6c0f18c3e9415115705.tar.gz
SCons-284db25033af74d831c2e6c0f18c3e9415115705.tar.bz2
Necessary changes towards supporting Jython.
Diffstat (limited to 'etc/TestCmd.py')
-rw-r--r--etc/TestCmd.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/TestCmd.py b/etc/TestCmd.py
index bac0a93..6d6db73 100644
--- a/etc/TestCmd.py
+++ b/etc/TestCmd.py
@@ -229,6 +229,14 @@ def match_re_dotall(lines = None, res = None):
if re.compile("^" + res + "$", re.DOTALL).match(lines):
return 1
+if os.name == 'java':
+
+ python_executable = os.path.join(sys.prefix, 'jython')
+
+else:
+
+ python_executable = sys.executable
+
if sys.platform == 'win32':
def where_is(file, path=None, pathext=None):