Skip to content

Commit df2e576

Browse files
authored
Fix asan.test_emscripten_lock_wait_acquire. NFC (#26444)
`WASM_WORKERS` is not currently compatible with ASAN. See #26433
1 parent 0f992a2 commit df2e576

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2752,7 +2752,7 @@ def test_pthread_is_lock_free(self):
27522752
@requires_pthreads
27532753
def test_emscripten_lock_wait_acquire(self):
27542754
self.do_runf('wasm_worker/lock_wait_acquire.c', 'done\n', cflags=['-pthread'])
2755-
if not self.get_setting('WASM_ESM_INTEGRATION'):
2755+
if not is_sanitizing(self.cflags) and not self.get_setting('WASM_ESM_INTEGRATION'):
27562756
# Also test the pthreads + WASM_WORKERS combination
27572757
self.do_runf('wasm_worker/lock_wait_acquire.c', 'done\n', cflags=['-pthread', '-sWASM_WORKERS'])
27582758

0 commit comments

Comments
 (0)