MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / assertIsLLVMAsm

Method assertIsLLVMAsm

test/test_other.py:5531–5533  ·  view source on GitHub ↗
(self, filename)

Source from the content-addressed store, hash-verified

5529 self.assertExists('hello_world.s')
5530
5531 def assertIsLLVMAsm(self, filename):
5532 bitcode = read_file(filename)
5533 self.assertContained('target triple = "', bitcode)
5534
5535 def test_dashS_ll_input(self):
5536 self.run_process([EMCC, test_file('hello_world.c'), '-S', '-emit-llvm'])

Callers 2

test_dashS_ll_inputMethod · 0.95
test_emit_llvm_asmMethod · 0.95

Calls 2

read_fileFunction · 0.90
assertContainedMethod · 0.80

Tested by

no test coverage detected