(self)
| 12100 | self.assertContained(outcome, proc.stderr) |
| 12101 | |
| 12102 | def test_bitcode_input(self): |
| 12103 | # Verify that bitcode files are accepted as input |
| 12104 | create_file('main.c', 'void foo(); int main() { return 0; }') |
| 12105 | self.run_process([EMCC, '-emit-llvm', '-c', '-o', 'main.bc', 'main.c']) |
| 12106 | self.assertTrue(is_bitcode('main.bc')) |
| 12107 | self.run_process([EMCC, '-c', '-o', 'main.o', 'main.bc']) |
| 12108 | self.assertTrue(building.is_wasm('main.o')) |
| 12109 | |
| 12110 | @with_env_modify({'EMCC_LOGGING': '0'}) # this test assumes no emcc output |
| 12111 | def test_nostdlib(self): |
nothing calls this directly
no test coverage detected