MCPcopy Create free account
hub / github.com/ElementsProject/elements / get_machine

Function get_machine

contrib/devtools/test-symbol-check.py:31–33  ·  view source on GitHub ↗
(cc: List[str])

Source from the content-addressed store, hash-verified

29 return (p.returncode, p.stdout.rstrip())
30
31def get_machine(cc: List[str]):
32 p = subprocess.run([*cc,'-dumpmachine'], stdout=subprocess.PIPE, universal_newlines=True)
33 return p.stdout.rstrip()
34
35class TestSymbolChecks(unittest.TestCase):
36 def test_ELF(self):

Callers 1

test_ELFMethod · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected