From f786185043c793e9614439d0d57d90f8935a42ce Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 30 Apr 2013 15:36:01 -0700 Subject: use emcc in test runner to compile to bitcode, to make sure it gets the target right --- tests/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runner.py b/tests/runner.py index 3eadafda..5a3c42f5 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -241,7 +241,7 @@ process(sys.argv[1]) compiler_flags = ['-emit-llvm'] if not f.endswith('.c'): compiler_flags = compiler_flags + ['-std=c++03'] - args = [Building.COMPILER] + compiler_flags + COMPILER_OPTS + Building.COMPILER_TEST_OPTS + \ + args = [PYTHON, EMCC] + compiler_flags + COMPILER_OPTS + Building.COMPILER_TEST_OPTS + \ ['-I', dirname, '-I', os.path.join(dirname, 'include')] + \ map(lambda include: '-I' + include, includes) + \ ['-c', f, '-o', f + '.o'] -- cgit v1.2.3-18-g5258