aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-30 15:36:01 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-30 15:36:01 -0700
commitf786185043c793e9614439d0d57d90f8935a42ce (patch)
tree34b74803c572b2fb8c455704ac97b54362f4d412
parent9cd0580f3ce92daec90a0bf0fbdca5034a7929f3 (diff)
use emcc in test runner to compile to bitcode, to make sure it gets the target right
-rwxr-xr-xtests/runner.py2
1 files changed, 1 insertions, 1 deletions
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']