@@ -1981,13 +1981,11 @@ def test_biggerswitch(self):
1981
1981
59899: 598995989959899
1982
1982
Success!''' )
1983
1983
1984
- @no_wasm_backend ('no implementation of computed gotos' )
1985
1984
def test_indirectbr (self ):
1986
1985
self .emcc_args = [x for x in self .emcc_args if x != '-g' ]
1987
1986
1988
1987
self .do_run_in_out_file_test ('tests' , 'core' , 'test_indirectbr' )
1989
1988
1990
- @no_wasm_backend ('no implementation of computed gotos' )
1991
1989
def test_indirectbr_many (self ):
1992
1990
self .do_run_in_out_file_test ('tests' , 'core' , 'test_indirectbr_many' )
1993
1991
@@ -2316,7 +2314,7 @@ def test_flexarray_struct(self):
2316
2314
def test_bsearch (self ):
2317
2315
self .do_run_in_out_file_test ('tests' , 'core' , 'test_bsearch' )
2318
2316
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 " )
2320
2318
def test_stack_overflow (self ):
2321
2319
self .set_setting ('ASSERTIONS' , 1 )
2322
2320
self .do_run (open (path_from_root ('tests' , 'core' , 'stack_overflow.cpp' )).read (), 'Stack overflow!' )
@@ -3717,7 +3715,6 @@ def test():
3717
3715
self .assertNotContained ("trying to dynamically load symbol '__ZN5ClassC2EPKc' (from 'liblib.so') that already exists" , full )
3718
3716
3719
3717
@needs_dlfcn
3720
- @no_wasm_backend ('some kind of issue with dylink and i64' )
3721
3718
def test_dylink_i64 (self ):
3722
3719
self .dylink_test (r'''
3723
3720
#include <stdio.h>
@@ -3749,7 +3746,6 @@ def test_dylink_i64(self):
3749
3746
''' , 'other says 175a1ddee82b8c31.' )
3750
3747
3751
3748
@needs_dlfcn
3752
- @no_wasm_backend ('some kind of issue with dylink and i64' )
3753
3749
def test_dylink_i64_b (self ):
3754
3750
self .dylink_test (r'''
3755
3751
#include <stdio.h>
@@ -4031,7 +4027,6 @@ def test_dylink_iostream(self):
4031
4027
''' , expected = ['hello from main and hello from side\n ' ])
4032
4028
4033
4029
@needs_dlfcn
4034
- @no_wasm_backend ('current fails in __dynamic_cast' )
4035
4030
def test_dylink_dynamic_cast (self ): # issue 3465
4036
4031
self .dylink_test (header = r'''
4037
4032
class Base {
@@ -4113,7 +4108,7 @@ def test_dylink_raii_exceptions(self):
4113
4108
''' , expected = ['special 2.182810 3.141590 42\n destroy\n from side: 1337.\n ' ])
4114
4109
4115
4110
@needs_dlfcn
4116
- @no_wasm_backend ('wasm backend resolved symbols greedily on startup' )
4111
+ @no_wasm_backend ('wasm backend resolves symbols greedily on startup' )
4117
4112
def test_dylink_hyper_dupe (self ):
4118
4113
self .set_setting ('TOTAL_MEMORY' , 64 * 1024 * 1024 )
4119
4114
if not self .has_changed_setting ('ASSERTIONS' ):
@@ -4187,7 +4182,7 @@ def test_dylink_hyper_dupe(self):
4187
4182
self .assertContained ("warning: symbol '_sideg' from '%s' already exists" % libname , full )
4188
4183
4189
4184
@needs_dlfcn
4190
- @no_wasm_backend ('not implemented yet ' )
4185
+ @no_wasm_backend ('possible https://github.com/emscripten-core/emscripten/issues/9038 ' )
4191
4186
def test_dylink_dso_needed (self ):
4192
4187
def do_run (src , expected_output ):
4193
4188
self .do_run (src + 'int main() { return _main(); }' , expected_output )
@@ -6538,7 +6533,6 @@ def test_demangle_stacks(self):
6538
6533
self .do_run_in_out_file_test ('tests' , 'core' , 'test_demangle_stacks_noassert' )
6539
6534
6540
6535
@no_emterpreter
6541
- @no_wasm_backend ('lld does not generate symbol maps' )
6542
6536
def test_demangle_stacks_symbol_map (self ):
6543
6537
self .set_setting ('DEMANGLE_SUPPORT' , 1 )
6544
6538
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):
6552
6546
for line in symbols :
6553
6547
if ':' not in line :
6554
6548
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 )
6556
6551
if 'Aborter' in full :
6557
6552
short_aborter = short
6558
6553
full_aborter = full
@@ -7274,8 +7269,7 @@ def test_async(self, emterpretify=False):
7274
7269
''' )
7275
7270
self .do_run (src , 'first\n second\n 6.4' )
7276
7271
7277
- @no_wasm_backend ('EMTERPRETIFY causes JSOptimizer to run, which is '
7278
- 'unsupported with Wasm backend' )
7272
+ @no_wasm_backend ('EMTERPRETIFY' )
7279
7273
def test_async_emterpretify (self ):
7280
7274
self .test_async (emterpretify = True )
7281
7275
@@ -7584,7 +7578,7 @@ def test_fs_dict(self):
7584
7578
self .do_run ('int main() { return 0; }' , 'object\n object\n object' )
7585
7579
7586
7580
@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 " )
7588
7582
def test_stack_overflow_check (self ):
7589
7583
args = self .emcc_args + ['-s' , 'TOTAL_STACK=1048576' ]
7590
7584
0 commit comments