diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-18 11:29:07 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-18 11:29:07 -0800 |
commit | a746b4c98c7c25eb25d6080892c22713937cee23 (patch) | |
tree | 08e6afae185e5825d04552d038303c9cbd6b5d21 | |
parent | 0d037f75734b965b3e60c77f485a81b5b9616202 (diff) |
fast test_longjmp_repeat in fastcomp
-rw-r--r-- | tests/test_core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index 257e9301..bdbafde7 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -1138,7 +1138,7 @@ class T(RunnerCore): # Short name, to make it more fun to use manually on the co self.do_run_from_file(src, output) def test_longjmp_repeat(self): - Settings.MAX_SETJMPS = 1 + if os.environ.get('EMCC_FAST_COMPILER') != '1': Settings.MAX_SETJMPS = 1 # todo: do this more strict thing in fastcomp too test_path = path_from_root('tests', 'core', 'test_longjmp_repeat') src, output = (test_path + s for s in ('.in', '.out')) self.do_run_from_file(src, output) |