diff options
author | Steven Knight <knight@baldmt.com> | 2003-01-15 05:41:30 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-01-15 05:41:30 (GMT) |
commit | 284db25033af74d831c2e6c0f18c3e9415115705 (patch) | |
tree | 2d7f5c5c38fe6f5cfcce5fc25613150c8aefee20 /test/CommandGenerator.py | |
parent | 64d27f9efc30088f70214b4585b83707c56f6c0a (diff) | |
download | SCons-284db25033af74d831c2e6c0f18c3e9415115705.zip SCons-284db25033af74d831c2e6c0f18c3e9415115705.tar.gz SCons-284db25033af74d831c2e6c0f18c3e9415115705.tar.bz2 |
Necessary changes towards supporting Jython.
Diffstat (limited to 'test/CommandGenerator.py')
-rw-r--r-- | test/CommandGenerator.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CommandGenerator.py b/test/CommandGenerator.py index c708d15..643e5e6 100644 --- a/test/CommandGenerator.py +++ b/test/CommandGenerator.py @@ -28,7 +28,7 @@ import os.path import sys import TestSCons -python = sys.executable +python = TestSCons.python test = TestSCons.TestSCons() @@ -44,7 +44,7 @@ sys.exit(0) test.write('SConstruct', """ def g(source, target, for_signature, env): import sys - python = sys.executable + python = r"%s" return [[python, "build.py", "$TEMPFILE"] + source, [python, "build.py"] + target + ["$TEMPFILE"]] @@ -54,7 +54,7 @@ env = Environment(BUILDERS = { 'b' : b }, env.b(target = 'foo1.out', source = 'foo1.in') env.b(target = 'foo2.out', source = 'foo2.in') env.b(target = 'foo3.out', source = 'foo3.in') -""") +""" % python) test.write('foo1.in', "foo1.in\n") |