(self, args)
| 8681 | 'O2': (['-O2'],), |
| 8682 | }) |
| 8683 | def test_missing_wasm(self, args): |
| 8684 | # Check that in debug builds we show a good error message if there is no wasm support |
| 8685 | create_file('pre.js', 'WebAssembly = undefined;\n') |
| 8686 | self.run_process([EMCC, test_file('hello_world.c'), '--pre-js', 'pre.js'] + args) |
| 8687 | out = self.run_js('a.out.js', assert_returncode=NON_ZERO) |
| 8688 | self.assertContainedIf('no native wasm support detected', out, not args) |
| 8689 | |
| 8690 | def test_exceptions_c_linker(self): |
| 8691 | # Test that we don't try to create __cxa_find_matching_catch_xx function automatically |
nothing calls this directly
no test coverage detected