@@ -1954,10 +1954,8 @@ def test_em_js(self, args, force_c):
19541954
19551955 @no_wasm2js ('WASM_BIGINT is not compatible with wasm2js' )
19561956 def test_em_js_i64 (self ):
1957- err = self .expect_fail ([EMCC , '-Werror' , test_file ('core/test_em_js_i64.c' )])
1957+ err = self .expect_fail ([EMCC , '-Werror' , '-sWASM_BIGINT=0' , test_file ('core/test_em_js_i64.c' )])
19581958 self .assertContained ('emcc: error: using 64-bit arguments in EM_JS function without WASM_BIGINT is not yet fully supported: `foo`' , err )
1959-
1960- self .set_setting ('WASM_BIGINT' )
19611959 self .node_args += shared .node_bigint_flags (self .get_nodejs ())
19621960 self .do_core_test ('test_em_js_i64.c' )
19631961
@@ -6995,11 +6993,10 @@ def test_EXPORTED_RUNTIME_METHODS(self):
69956993 def test_dyncall_specific (self , * args ):
69966994 if self .get_setting ('MEMORY64' ):
69976995 self .skipTest ('not compatible with MEMORY64' )
6998- if self .get_setting ('WASM_BIGINT' ):
6999- # define DYNCALLS because this test does test calling them directly, and
7000- # in WASM_BIGINT mode we do not enable them by default (since we can do
7001- # more without them - we don't need to legalize)
7002- args = list (args ) + ['-sDYNCALLS' , '-DWASM_BIGINT' ]
6996+ # define DYNCALLS because this test does test calling them directly, and
6997+ # in WASM_BIGINT mode we do not enable them by default (since we can do
6998+ # more without them - we don't need to legalize)
6999+ args = list (args ) + ['-sDYNCALLS' , '-DWASM_BIGINT' ]
70037000 cases = [
70047001 ('DIRECT' , []),
70057002 ('DYNAMIC_SIG' , ['-sDYNCALLS' ]),
@@ -8417,6 +8414,7 @@ def test_wasm2js(self):
84178414 if self .is_wasm2js ():
84188415 self .skipTest ('redundant to test wasm2js in wasm2js* mode' )
84198416 self .set_setting ('WASM' , 0 )
8417+ self .set_setting ('WASM_BIGINT' , 0 )
84208418 self .do_core_test ('test_hello_world.c' )
84218419 self .assertNotExists ('test_hello_world.js.mem' )
84228420
@@ -8448,7 +8446,7 @@ def test_wasm2js_fallback(self, args):
84488446 if self .is_wasm2js ():
84498447 self .skipTest ('redundant to test wasm2js in wasm2js* mode' )
84508448
8451- cmd = [EMCC , test_file ('small_hello_world.c' ), '-sWASM=2' ] + args
8449+ cmd = [EMCC , test_file ('small_hello_world.c' ), '-sWASM=2' , '-sWASM_BIGINT=0' ] + args
84528450 self .run_process (cmd )
84538451
84548452 # First run with WebAssembly support enabled
0 commit comments