Skip to content

Commit 82a430f

Browse files
authored
Reduce hello_wasm_worker.c testing in test_other.py (emscripten-core#24217)
`hello_wasm_worker.c` is extensively tested in `test_core.py`. The only part that wasn't was the `-sTRUSTED_TYPES` part, so leave that here in `test_other.py`
1 parent 43decfa commit 82a430f

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test/test_other.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14591,12 +14591,8 @@ def test_debug_opt_warning(self, should_fail, args):
1459114591
else:
1459214592
self.run_process([EMCC, test_file('hello_world.c'), '-Werror'] + args)
1459314593

14594-
@parameterized({
14595-
'': [[]],
14596-
'trusted': [['-sTRUSTED_TYPES']],
14597-
})
14598-
def test_wasm_worker_hello(self, args):
14599-
self.do_runf('wasm_worker/hello_wasm_worker.c', emcc_args=['-sWASM_WORKERS'] + args)
14594+
def test_wasm_worker_trusted_types(self):
14595+
self.do_run_in_out_file_test('wasm_worker/hello_wasm_worker.c', emcc_args=['-sWASM_WORKERS', '-sTRUSTED_TYPES'])
1460014596

1460114597
def test_wasm_worker_terminate(self):
1460214598
self.do_runf('wasm_worker/terminate_wasm_worker.c', emcc_args=['-sWASM_WORKERS'])

0 commit comments

Comments
 (0)