Skip to content

Commit aa531be

Browse files
authored
Fix tests from #25523 under asan/lsan. NFC (#25984)
See #25523
1 parent 5f59cb6 commit aa531be

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,7 @@ jobs:
674674
asan.test_fs_js_api_wasmfs
675675
asan.test_modularize_instance_pthreads
676676
asan.test_minimal_runtime_hello_world
677+
asan.test_select_blocking
677678
lsan.test_dylink_dso_needed
678679
lsan.test_stdio_locking
679680
lsan.test_dlfcn_basic

test/test_core.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9665,6 +9665,7 @@ def test_wasm_global(self, dynlink):
96659665
def test_syscall_intercept(self):
96669666
self.do_core_test('test_syscall_intercept.c')
96679667

9668+
@node_pthreads
96689669
def test_select_blocking(self):
96699670
self.do_runf('core/test_select_blocking.c', cflags=['-pthread', '-sPROXY_TO_PTHREAD=1', '-sEXIT_RUNTIME=1'])
96709671

@@ -9673,6 +9674,8 @@ def test_select_blocking(self):
96739674
'pthread': (['-pthread'],),
96749675
})
96759676
def test_pipe_select(self, args):
9677+
if args:
9678+
self.setup_node_pthreads()
96769679
self.do_runf('core/test_pipe_select.c', cflags=args)
96779680

96789681
@also_without_bigint

0 commit comments

Comments
 (0)