File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -9724,6 +9724,8 @@ def test_modularize_instance_hello(self):
9724
9724
'pthreads' : (['-pthread' ],),
9725
9725
})
9726
9726
def test_modularize_instance (self , args ):
9727
+ if self .get_setting ('WASM_ESM_INTEGRATION' ) and '-pthread' in args :
9728
+ self .skipTest ('pthread is not compatible with WASM_ESM_INTEGRATION' )
9727
9729
create_file ('library.js' , '''\
9728
9730
addToLibrary({
9729
9731
$baz: () => console.log('baz'),
@@ -9735,7 +9737,7 @@ def test_modularize_instance(self, args):
9735
9737
'-sEXPORTED_RUNTIME_METHODS=baz,addOnExit,HEAP32' ,
9736
9738
'-sEXPORTED_FUNCTIONS=_bar,_main,qux' ,
9737
9739
'--js-library' , 'library.js' ,
9738
- '-o' , 'modularize_instance.mjs' ] + args )
9740
+ '-o' , 'modularize_instance.mjs' ] + args + self . get_emcc_args () )
9739
9741
9740
9742
create_file ('runner.mjs' , '''
9741
9743
import { strict as assert } from 'assert';
You can’t perform that action at this time.
0 commit comments