diff --git a/test/test_core.py b/test/test_core.py index 977db6d9168b4..66f1e9460a559 100644 --- a/test/test_core.py +++ b/test/test_core.py @@ -8748,11 +8748,6 @@ def test_return_address(self): @no_lsan('-fsanitize-minimal-runtime cannot be used with LSan') def test_ubsan_minimal_too_many_errors(self): self.emcc_args += ['-fsanitize=undefined', '-fsanitize-minimal-runtime'] - if self.is_wasm2js(): - if self.is_optimizing(): - self.skipTest('test can only be run without optimizations on asm.js') - # Need to use `-g` to get proper line numbers in asm.js - self.emcc_args += ['-g'] self.do_runf('core/test_ubsan_minimal_too_many_errors.c', expected_output='ubsan: add-overflow by 0x[0-9a-f]*\n' * 20 + 'ubsan: too many errors\n', regex=True) @@ -8762,11 +8757,6 @@ def test_ubsan_minimal_too_many_errors(self): @no_lsan('-fsanitize-minimal-runtime cannot be used with LSan') def test_ubsan_minimal_errors_same_place(self): self.emcc_args += ['-fsanitize=undefined', '-fsanitize-minimal-runtime'] - if self.is_wasm2js(): - if self.is_optimizing(): - self.skipTest('test can only be run without optimizations under wasm2js') - # Need to use `-g` to get proper line numbers in wasm2js - self.emcc_args += ['-g'] self.do_runf('core/test_ubsan_minimal_errors_same_place.c', expected_output='ubsan: add-overflow by 0x[0-9a-z]*\n' * 5, regex=True)