diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2014-02-16 16:30:04 +0200 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2014-02-19 18:36:55 +0200 |
commit | f13a1ea175b06dcbb110761d2f2dd00e27155279 (patch) | |
tree | 0af05a8ed8f3411e0ea98186e28ee51750c239a9 /tests/fuzz | |
parent | 68935bec83ac0c0d4b2403f37f228ddba7009dfb (diff) |
Fix Windows EMCC invocations to call 'python emcc' in a few places instead of just 'emcc'.
Diffstat (limited to 'tests/fuzz')
-rwxr-xr-x | tests/fuzz/creduce_tester.py | 2 | ||||
-rwxr-xr-x | tests/fuzz/csmith_driver.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/fuzz/creduce_tester.py b/tests/fuzz/creduce_tester.py index d5618c2e..6bf9473f 100755 --- a/tests/fuzz/creduce_tester.py +++ b/tests/fuzz/creduce_tester.py @@ -34,7 +34,7 @@ except Exception, e: print '4) Compile JS-ly and compare' def try_js(args): - shared.check_execute([shared.EMCC] + EMCC_ARGS + CSMITH_CFLAGS + args + + shared.check_execute([shared.PYTHON, shared.EMCC] + EMCC_ARGS + CSMITH_CFLAGS + args + [filename, '-o', js_filename]) js = shared.run_js(js_filename, stderr=PIPE, engine=ENGINE) assert correct == js diff --git a/tests/fuzz/csmith_driver.py b/tests/fuzz/csmith_driver.py index 23b46188..5c83e92f 100755 --- a/tests/fuzz/csmith_driver.py +++ b/tests/fuzz/csmith_driver.py @@ -89,7 +89,7 @@ while 1: def try_js(args): shared.try_delete(filename + '.js') print '(compile)' - shared.check_execute([shared.EMCC, opts, fullname, '-o', filename + '.js'] + CSMITH_CFLAGS + args) + shared.check_execute([shared.PYTHON, shared.EMCC, opts, fullname, '-o', filename + '.js'] + CSMITH_CFLAGS + args) assert os.path.exists(filename + '.js') print '(run)' js = shared.run_js(filename + '.js', stderr=PIPE, engine=engine1, check_timeout=True) |