0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

contrib: drop dead get_machine from test sym check

This commit is contained in:
fanquake 2024-05-10 00:13:50 +08:00
parent e6aba463ad
commit b59a027d95
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -27,10 +27,6 @@ def call_symbol_check(cc: list[str], source, executable, options):
os.remove(executable)
return (p.returncode, p.stdout.rstrip())
def get_machine(cc: list[str]):
p = subprocess.run([*cc,'-dumpmachine'], stdout=subprocess.PIPE, text=True)
return p.stdout.rstrip()
class TestSymbolChecks(unittest.TestCase):
def test_ELF(self):
source = 'test1.c'