aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/runner.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 924e53d2..624cf70d 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -12524,13 +12524,13 @@ elif 'sanity' in str(sys.argv):
f = open(CONFIG_FILE, 'a')
f.write('CLOSURE_COMPILER = "/tmp/nowhere/nothingtoseehere/kjadsfkjwelkjsdfkqgas/nonexistent.txt"\n')
f.close()
- output = self.check_working([EMCC, '-O2', '--closure', '1', 'tests/hello_world.cpp'], CLOSURE_FATAL)
+ output = self.check_working([EMCC, '-O2', '-s', 'ASM_JS=0', '--closure', '1', 'tests/hello_world.cpp'], CLOSURE_FATAL)
# With a working path, all is well
restore()
try_delete('a.out.js')
- output = self.check_working([EMCC, '-O2', '--closure', '1', 'tests/hello_world.cpp'], '')
- assert os.path.exists('a.out.js')
+ output = self.check_working([EMCC, '-O2', '-s', 'ASM_JS=0', '--closure', '1', 'tests/hello_world.cpp'], '')
+ assert os.path.exists('a.out.js'), output
def test_llvm(self):
LLVM_WARNING = 'warning: LLVM version appears incorrect'