Skip to content

Commit a41250b

Browse files
committed
disable various tests in fastcomp
1 parent 9022047 commit a41250b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

tests/test_core.py

+24
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,8 @@ def test_double_i64_conversion(self):
459459
self.do_run_from_file(src, output)
460460

461461
def test_float32_precise(self):
462+
if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
463+
462464
Settings.PRECISE_F32 = 1
463465

464466
test_path = path_from_root('tests', 'core', 'test_float32_precise')
@@ -1086,36 +1088,48 @@ def test_regex(self):
10861088
self.do_run_from_file(src, output)
10871089

10881090
def test_longjmp(self):
1091+
if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
1092+
10891093
test_path = path_from_root('tests', 'core', 'test_longjmp')
10901094
src, output = (test_path + s for s in ('.in', '.out'))
10911095

10921096
self.do_run_from_file(src, output)
10931097

10941098
def test_longjmp2(self):
1099+
if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
1100+
10951101
test_path = path_from_root('tests', 'core', 'test_longjmp2')
10961102
src, output = (test_path + s for s in ('.in', '.out'))
10971103

10981104
self.do_run_from_file(src, output)
10991105

11001106
def test_longjmp3(self):
1107+
if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
1108+
11011109
test_path = path_from_root('tests', 'core', 'test_longjmp3')
11021110
src, output = (test_path + s for s in ('.in', '.out'))
11031111

11041112
self.do_run_from_file(src, output)
11051113

11061114
def test_longjmp4(self):
1115+
if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
1116+
11071117
test_path = path_from_root('tests', 'core', 'test_longjmp4')
11081118
src, output = (test_path + s for s in ('.in', '.out'))
11091119

11101120
self.do_run_from_file(src, output)
11111121

11121122
def test_longjmp_funcptr(self):
1123+
if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
1124+
11131125
test_path = path_from_root('tests', 'core', 'test_longjmp_funcptr')
11141126
src, output = (test_path + s for s in ('.in', '.out'))
11151127

11161128
self.do_run_from_file(src, output)
11171129

11181130
def test_longjmp_repeat(self):
1131+
if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
1132+
11191133
Settings.MAX_SETJMPS = 1
11201134

11211135
test_path = path_from_root('tests', 'core', 'test_longjmp_repeat')
@@ -1124,19 +1138,25 @@ def test_longjmp_repeat(self):
11241138
self.do_run_from_file(src, output)
11251139

11261140
def test_longjmp_stacked(self):
1141+
if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
1142+
11271143
test_path = path_from_root('tests', 'core', 'test_longjmp_stacked')
11281144
src, output = (test_path + s for s in ('.in', '.out'))
11291145

11301146
self.do_run_from_file(src, output)
11311147

11321148

11331149
def test_longjmp_exc(self):
1150+
if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
1151+
11341152
test_path = path_from_root('tests', 'core', 'test_longjmp_exc')
11351153
src, output = (test_path + s for s in ('.in', '.out'))
11361154

11371155
self.do_run_from_file(src, output)
11381156

11391157
def test_setjmp_many(self):
1158+
if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
1159+
11401160
src = r'''
11411161
#include <stdio.h>
11421162
#include <setjmp.h>
@@ -1155,6 +1175,7 @@ def test_setjmp_many(self):
11551175
def test_exceptions(self):
11561176
if Settings.QUANTUM_SIZE == 1: return self.skip("we don't support libcxx in q1")
11571177
if self.emcc_args is None: return self.skip('need emcc to add in libcxx properly')
1178+
if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
11581179

11591180
Settings.EXCEPTION_DEBUG = 1
11601181

@@ -1243,6 +1264,7 @@ class MyException
12431264

12441265
def test_exception_2(self):
12451266
if self.emcc_args is None: return self.skip('need emcc to add in libcxx properly')
1267+
if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
12461268
Settings.DISABLE_EXCEPTION_CATCHING = 0
12471269

12481270
test_path = path_from_root('tests', 'core', 'test_exception_2')
@@ -1885,6 +1907,7 @@ def test_emscripten_get_now(self):
18851907

18861908
def test_inlinejs(self):
18871909
if not self.is_le32(): return self.skip('le32 needed for inline js')
1910+
if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
18881911

18891912
test_path = path_from_root('tests', 'core', 'test_inlinejs')
18901913
src, output = (test_path + s for s in ('.in', '.out'))
@@ -1897,6 +1920,7 @@ def test_inlinejs(self):
18971920

18981921
def test_inlinejs2(self):
18991922
if not self.is_le32(): return self.skip('le32 needed for inline js')
1923+
if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
19001924

19011925
test_path = path_from_root('tests', 'core', 'test_inlinejs2')
19021926
src, output = (test_path + s for s in ('.in', '.out'))

0 commit comments

Comments
 (0)