(self)
| 5103 | self.assertEqual(get_code_section_size('test1.wasm'), get_code_section_size('test2.wasm')) |
| 5104 | |
| 5105 | def test_bitcode_linking(self): |
| 5106 | # emcc used to be able to link bitcode together, but these days partial linking |
| 5107 | # always outputs an object file. |
| 5108 | self.run_process([EMCC, '-flto', '-c', test_file('hello_world.c')]) |
| 5109 | self.assertExists('hello_world.o') |
| 5110 | self.run_process([EMCC, '-flto', '-r', 'hello_world.o', '-o', 'hello_world2.o']) |
| 5111 | is_bitcode('hello_world.o') |
| 5112 | building.is_wasm('hello_world2.o') |
| 5113 | |
| 5114 | @parameterized({ |
| 5115 | '': ([],), |
nothing calls this directly
no test coverage detected