Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions test/test_other.py
Original file line number Diff line number Diff line change
Expand Up @@ -15185,9 +15185,8 @@ def test_standalone_settings(self):
def test_standalone_imports(self):
# Ensure standalone binary will not have __throw_exception_with_stack_trace
# debug helper dependency, caused by exception-related code.
src_path = test_file('core/test_exceptions.cpp')
self.run_process([EMXX, '-O0', '-fwasm-exceptions', '-sSTANDALONE_WASM', src_path])
imports = self.parse_wasm('a.out.wasm')[0]
self.do_runf('core/test_exceptions.cpp', cflags=['-fwasm-exceptions', '-sSTANDALONE_WASM'])
imports = self.parse_wasm('test_exceptions.wasm')[0]
for name in imports:
self.assertTrue(name.startswith('wasi_'), 'Unexpected import %s' % name)

Expand Down