Skip to content

Commit 089d69c

Browse files
authored
Disable asan.test_longjmp_zero. NFC (#21534)
1 parent a3a2687 commit 089d69c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_core.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,9 @@ def test_longjmp(self):
894894

895895
@with_both_sjlj
896896
def test_longjmp_zero(self):
897+
if '-fsanitize=undefined' in self.emcc_args and self.get_setting('SUPPORT_LONGJMP') == 'emscripten':
898+
# For some reason this tests fails under ubsan, but only with emscripten EH.
899+
self.skipTest('https://github.com/emscripten-core/emscripten/issues/21533')
897900
self.do_core_test('test_longjmp_zero.c')
898901

899902
def test_longjmp_with_and_without_exceptions(self):

0 commit comments

Comments
 (0)