Commit ca756882 authored by Michael Arntzenius's avatar Michael Arntzenius

tester.py: fix where we set opts.jit_args for opts.collect_stats

parent a53ab1a8
......@@ -206,9 +206,6 @@ def get_test_options(fn, check_stats, run_memcheck):
elif os.path.basename(fn).split('.')[0] in TESTS_TO_SKIP:
opts.skip = 'command line option'
if opts.collect_stats:
opts.jit_args = ['-s'] + opts.jit_args
assert opts.expected in ("success", "fail", "statfail"), opts.expected
if TEST_PYPY:
......@@ -217,6 +214,9 @@ def get_test_options(fn, check_stats, run_memcheck):
opts.check_stats = False
opts.expected = "success"
if opts.collect_stats:
opts.jit_args = ['-s'] + opts.jit_args
return opts
def determine_test_result(fn, opts, code, out, stderr, elapsed):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment