diff options
author | alon@honor <none@none> | 2010-10-07 22:50:33 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-10-07 22:50:33 -0700 |
commit | d0eb15c81a09cf011c5f660413e593b0c09ff5fb (patch) | |
tree | a71c70048458637f3a595a7e39b5cfee130a3e4a /tests/runner.py | |
parent | 4de0755572570e6de83788998e8288724b45b2fa (diff) |
begin work to adapt to llvm 2.8 | TESTS BROKEN
Diffstat (limited to 'tests/runner.py')
-rw-r--r-- | tests/runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index 2ce216f5..b134f739 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -57,12 +57,12 @@ class T(unittest.TestCase): raise Exception("Compilation error"); # LLVM binary ==> LLVM assembly - output = Popen([LLVM_DIS, filename + '.o', '-o=' + filename + '.o.llvm'], stdout=PIPE, stderr=STDOUT).communicate()[0] + output = Popen([LLVM_DIS, filename + '.o'] + LLVM_DIS_OPTS + ['-o=' + filename + '.o.ll'], stdout=PIPE, stderr=STDOUT).communicate()[0] # Run Emscripten emscripten_settings = ['{ "QUANTUM_SIZE": %d, "RELOOP": %d, "OPTIMIZE": %d }' % (QUANTUM_SIZE, RELOOP, OPTIMIZE)] out = open(filename + '.o.js', 'w') if not OUTPUT_TO_SCREEN else None - timeout_run(Popen([EMSCRIPTEN, filename + '.o.llvm', PARSER_ENGINE] + emscripten_settings, stdout=out, stderr=STDOUT), 240, 'Compiling') + timeout_run(Popen([EMSCRIPTEN, filename + '.o.ll', PARSER_ENGINE] + emscripten_settings, stdout=out, stderr=STDOUT), 240, 'Compiling') output = open(filename + '.o.js').read() if output_processor is not None: output_processor(output) |