aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-18 13:02:09 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-02-18 13:02:09 -0800
commit4cb5e22f6182dcce6085f64dac4b93fe57f93bb4 (patch)
tree4e008e4cd5ed7d7ca9da5fc97f82c601ce1cf345 /tests/runner.py
parent767553991644503fcc845a32449dc3ee147c7a1e (diff)
fix test_closure_compiler
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 9fe944dd..259d8188 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -11328,12 +11328,12 @@ 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', 'tests/hello_world.cpp'], CLOSURE_FATAL)
+ output = self.check_working([EMCC, '-O2', '--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', 'tests/hello_world.cpp'], '')
+ output = self.check_working([EMCC, '-O2', '--closure', '1', 'tests/hello_world.cpp'], '')
assert os.path.exists('a.out.js')
def test_llvm(self):