aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-12-19 19:52:21 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-12-19 19:52:21 -0800
commite2a2542be7dbe4b50432702d94d4bf09ce539fd1 (patch)
tree06ebf67277c142aa7b566c916baefeb90411fd29 /tests
parent7ebe7e7cbca584956f9bbe2aad197e731691f5e7 (diff)
make default tests work in fastcomp
Diffstat (limited to 'tests')
-rw-r--r--tests/test_core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index e2db18a0..476e0aa6 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -6362,7 +6362,7 @@ def make_run(fullname, name=-1, compiler=-1, embetter=0, quantum_size=0,
return TT
# Make one run with the defaults
-default = make_run("default", compiler=CLANG, emcc_args=[])
+default = make_run("default", compiler=CLANG, emcc_args=[] if os.environ.get('EMCC_FAST_COMPILER') != '1' else ['-s', 'ASM_JS=1'])
# Make one run with -O1, with safe heap
o1 = make_run("o1", compiler=CLANG, emcc_args=["-O1", "-s", "ASM_JS=0", "-s", "SAFE_HEAP=1"])