aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-20 15:49:40 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-20 15:49:40 -0800
commit544a0fd1282f2e0f39644877edf753463f406bee (patch)
tree3a77bea9a33f88a0cb6cae2f39a27e55dfb54caa /tests
parent9e6dedaa2325c5e4fb0ac41fa8902123ecd91647 (diff)
fix up final setjmp tests for fastcomp
Diffstat (limited to 'tests')
-rw-r--r--tests/test_core.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index 38eb0a27..efe65904 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -1160,15 +1160,13 @@ 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_exc(self):
- if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
-
+ if os.environ.get('EMCC_FAST_COMPILER') == '1': Settings.DISABLE_EXCEPTION_CATCHING = 1
test_path = path_from_root('tests', 'core', 'test_longjmp_exc')
src, output = (test_path + s for s in ('.in', '.out'))
-
self.do_run_from_file(src, output)
def test_setjmp_many(self):
- if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
+ if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp: make MAX_SETJMPS take effect')
src = r'''
#include <stdio.h>