aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-05 17:09:15 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-05 17:09:15 -0700
commitb600e299400097ca72a30a2826e53284dd7ddceb (patch)
tree2d93ff8acd7cea00b77e500d71684ff105fb7eca /tests
parenta65ea6dc5853d4becee51cd8cb8a704e7eae1e95 (diff)
fix test_optimize_normally
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 988af12a..6d47b59b 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -10335,11 +10335,11 @@ seeked= file.
assert (' with -O3 since EMCC_OPTIMIZE_NORMALLY defined' in err) == optimize_normally
for last in ['both.o', 'both2.o']:
- out, err = Popen([PYTHON, EMCC, self.in_dir('both.o'), '-O2', '-o', last + '.js'], stdout=PIPE, stderr=PIPE).communicate()
+ out, err = Popen([PYTHON, EMCC, self.in_dir('both.o'), '-O2', '-o', last + '.js', '--memory-init-file', '0'], stdout=PIPE, stderr=PIPE).communicate()
assert ("emcc: LLVM opts: ['-O3']" not in err) == optimize_normally
assert ' with -O3 since EMCC_OPTIMIZE_NORMALLY defined' not in err
output = run_js(last + '.js')
- assert 'yello' in output, 'code works'
+ assert 'yello' in output, 'code works ' + err
assert open('both.o.js').read() == open('both2.o.js').read()
finally: