summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-01-27 01:55:50 (GMT)
committerSteven Knight <knight@baldmt.com>2010-01-27 01:55:50 (GMT)
commit4f36f5d9032a1a1afc1206609b7b9139bf6344c0 (patch)
tree6734f8aaf02c2b4684ab66d058b837ad5e12deaf
parentf5a80d8cf4143edd7434805a568cc0e7eeaf81c0 (diff)
downloadSCons-4f36f5d9032a1a1afc1206609b7b9139bf6344c0.zip
SCons-4f36f5d9032a1a1afc1206609b7b9139bf6344c0.tar.gz
SCons-4f36f5d9032a1a1afc1206609b7b9139bf6344c0.tar.bz2
Only escape the executable python string itself on the display line.
-rw-r--r--runtest.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/runtest.py b/runtest.py
index a4dcee4..a927940 100644
--- a/runtest.py
+++ b/runtest.py
@@ -761,11 +761,12 @@ else:
total_start_time = time_func()
for t in tests:
- t.command_args = [python, '-tt']
+ command_args = ['-tt']
if debug:
- t.command_args.append(debug)
- t.command_args.append(t.path)
- t.command_str = string.join(map(escape, t.command_args), " ")
+ command_args.append(debug)
+ command_args.append(t.path)
+ t.command_args = [python] + command_args
+ t.command_str = string.join([escape(python)] + command_args, " ")
if printcommand:
sys.stdout.write(t.command_str + "\n")
test_start_time = time_func()