Fix trace-test.py -f. r=dmandelin via IRC, no bug.

--HG--
extra : rebase_source : 7ae99002a44e6e5323c9c2909f523d278ac0f38d
This commit is contained in:
Jason Orendorff 2009-08-21 13:18:36 -05:00
parent 3cf8a59c01
commit 7eb0c31f08

View File

@ -1,6 +1,7 @@
# trace-test.py -- Python harness for JavaScript trace tests. # trace-test.py -- Python harness for JavaScript trace tests.
import datetime, os, re, sys import datetime, os, re, sys
import subprocess
from subprocess import * from subprocess import *
JS = None JS = None
@ -118,7 +119,7 @@ def run_tests(tests, lib_dir):
print('FAILURES:') print('FAILURES:')
for test in failures: for test in failures:
if OPTIONS.show_failed: if OPTIONS.show_failed:
print(' ' + get_test_cmd(test, lib_dir)) print(' ' + subprocess.list2cmdline(get_test_cmd(test, lib_dir)))
else: else:
print(' ' + test) print(' ' + test)
else: else: