diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-19 11:14:34 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-19 11:21:51 -0700 |
commit | 5d4bbcfac43472bd5cf63f810f25d91ae15d00f2 (patch) | |
tree | 9be43d633041b41ee4a775fb82a6ffaf04019d65 | |
parent | 87c1af8ca6842681fbba7e45b520eae8fd12926f (diff) |
update test_closure_compiler
-rwxr-xr-x | tests/runner.py | 6 |
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' |