mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-09-27 23:57:40 +02:00
contrib: drop dead get_machine from test sym check
This commit is contained in:
@@ -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'
|
||||
|
Reference in New Issue
Block a user