diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-09-24 18:21:58 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-09-24 18:21:58 -0700 |
commit | 2f11f2e15392069a3c4a72fef2358fbf722b4e0e (patch) | |
tree | 7aadb70939ccfa84575b44e0ee714d891666efc7 /tests | |
parent | ec318d92f2c5f645eab561efc461941405071131 (diff) |
start to include system headers (tests broken)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 5674a160..9d4c3073 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -154,7 +154,7 @@ class RunnerCore(unittest.TestCase): os.remove(f + '.o.ll') except: pass - output = Popen([COMPILER, '-DEMSCRIPTEN', '-emit-llvm', '-m32'] + COMPILER_OPTS + COMPILER_TEST_OPTS + + output = Popen([COMPILER, '-DEMSCRIPTEN', '-emit-llvm'] + COMPILER_OPTS + COMPILER_TEST_OPTS + ['-I', dirname, '-I', os.path.join(dirname, 'include')] + map(lambda include: '-I' + include, includes) + ['-c', f, '-o', f + '.o'], |