@@ -1981,13 +1981,11 @@ def test_biggerswitch(self):
1981198159899: 598995989959899
19821982Success!''' )
19831983
1984- @no_wasm_backend ('no implementation of computed gotos' )
19851984 def test_indirectbr (self ):
19861985 self .emcc_args = [x for x in self .emcc_args if x != '-g' ]
19871986
19881987 self .do_run_in_out_file_test ('tests' , 'core' , 'test_indirectbr' )
19891988
1990- @no_wasm_backend ('no implementation of computed gotos' )
19911989 def test_indirectbr_many (self ):
19921990 self .do_run_in_out_file_test ('tests' , 'core' , 'test_indirectbr_many' )
19931991
@@ -2316,7 +2314,7 @@ def test_flexarray_struct(self):
23162314 def test_bsearch (self ):
23172315 self .do_run_in_out_file_test ('tests' , 'core' , 'test_bsearch' )
23182316
2319- @no_wasm_backend ("wasm backend has no support for fastcomp's - emscripten-assertions flag " )
2317+ @no_wasm_backend ("https://github.com/ emscripten-core/emscripten/issues/9039 " )
23202318 def test_stack_overflow (self ):
23212319 self .set_setting ('ASSERTIONS' , 1 )
23222320 self .do_run (open (path_from_root ('tests' , 'core' , 'stack_overflow.cpp' )).read (), 'Stack overflow!' )
@@ -3717,7 +3715,6 @@ def test():
37173715 self .assertNotContained ("trying to dynamically load symbol '__ZN5ClassC2EPKc' (from 'liblib.so') that already exists" , full )
37183716
37193717 @needs_dlfcn
3720- @no_wasm_backend ('some kind of issue with dylink and i64' )
37213718 def test_dylink_i64 (self ):
37223719 self .dylink_test (r'''
37233720 #include <stdio.h>
@@ -3749,7 +3746,6 @@ def test_dylink_i64(self):
37493746 ''' , 'other says 175a1ddee82b8c31.' )
37503747
37513748 @needs_dlfcn
3752- @no_wasm_backend ('some kind of issue with dylink and i64' )
37533749 def test_dylink_i64_b (self ):
37543750 self .dylink_test (r'''
37553751 #include <stdio.h>
@@ -4031,7 +4027,6 @@ def test_dylink_iostream(self):
40314027 ''' , expected = ['hello from main and hello from side\n ' ])
40324028
40334029 @needs_dlfcn
4034- @no_wasm_backend ('current fails in __dynamic_cast' )
40354030 def test_dylink_dynamic_cast (self ): # issue 3465
40364031 self .dylink_test (header = r'''
40374032 class Base {
@@ -4113,7 +4108,7 @@ def test_dylink_raii_exceptions(self):
41134108 ''' , expected = ['special 2.182810 3.141590 42\n destroy\n from side: 1337.\n ' ])
41144109
41154110 @needs_dlfcn
4116- @no_wasm_backend ('wasm backend resolved symbols greedily on startup' )
4111+ @no_wasm_backend ('wasm backend resolves symbols greedily on startup' )
41174112 def test_dylink_hyper_dupe (self ):
41184113 self .set_setting ('TOTAL_MEMORY' , 64 * 1024 * 1024 )
41194114 if not self .has_changed_setting ('ASSERTIONS' ):
@@ -4187,7 +4182,7 @@ def test_dylink_hyper_dupe(self):
41874182 self .assertContained ("warning: symbol '_sideg' from '%s' already exists" % libname , full )
41884183
41894184 @needs_dlfcn
4190- @no_wasm_backend ('not implemented yet ' )
4185+ @no_wasm_backend ('possible https://github.com/emscripten-core/emscripten/issues/9038 ' )
41914186 def test_dylink_dso_needed (self ):
41924187 def do_run (src , expected_output ):
41934188 self .do_run (src + 'int main() { return _main(); }' , expected_output )
@@ -6538,7 +6533,6 @@ def test_demangle_stacks(self):
65386533 self .do_run_in_out_file_test ('tests' , 'core' , 'test_demangle_stacks_noassert' )
65396534
65406535 @no_emterpreter
6541- @no_wasm_backend ('lld does not generate symbol maps' )
65426536 def test_demangle_stacks_symbol_map (self ):
65436537 self .set_setting ('DEMANGLE_SUPPORT' , 1 )
65446538 if '-O' in str (self .emcc_args ) and '-O0' not in self .emcc_args and '-O1' not in self .emcc_args and '-g' not in self .emcc_args :
@@ -6552,7 +6546,8 @@ def test_demangle_stacks_symbol_map(self):
65526546 for line in symbols :
65536547 if ':' not in line :
65546548 continue
6555- short , full = line .split (':' )
6549+ # split by the first ':' (wasm backend demangling may include more :'s later on)
6550+ short , full = line .split (':' , 1 )
65566551 if 'Aborter' in full :
65576552 short_aborter = short
65586553 full_aborter = full
@@ -7274,8 +7269,7 @@ def test_async(self, emterpretify=False):
72747269''' )
72757270 self .do_run (src , 'first\n second\n 6.4' )
72767271
7277- @no_wasm_backend ('EMTERPRETIFY causes JSOptimizer to run, which is '
7278- 'unsupported with Wasm backend' )
7272+ @no_wasm_backend ('EMTERPRETIFY' )
72797273 def test_async_emterpretify (self ):
72807274 self .test_async (emterpretify = True )
72817275
@@ -7584,7 +7578,7 @@ def test_fs_dict(self):
75847578 self .do_run ('int main() { return 0; }' , 'object\n object\n object' )
75857579
75867580 @sync
7587- @no_wasm_backend ("wasm backend has no support for fastcomp's - emscripten-assertions flag " )
7581+ @no_wasm_backend ("https://github.com/ emscripten-core/emscripten/issues/9039 " )
75887582 def test_stack_overflow_check (self ):
75897583 args = self .emcc_args + ['-s' , 'TOTAL_STACK=1048576' ]
75907584
0 commit comments