diff --git a/test/test_core.py b/test/test_core.py index b4225fef4c940..803e614587fda 100644 --- a/test/test_core.py +++ b/test/test_core.py @@ -9169,7 +9169,7 @@ def test_fpic_static(self): }) @node_pthreads def test_pthread_create(self, args): - if self.get_setting('WASM_ESM_INTEGRATION') and args: + if self.get_setting('WASM_ESM_INTEGRATION') and '-sWASM_ASYNC_COMPILATION=0' in args: self.skipTest('WASM_ESM_INTEGRATION is not compatible with WASM_ASYNC_COMPILATION=0') self.set_setting('ENVIRONMENT', 'node') self.set_setting('STRICT')