mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-09-27 21:48:17 +02:00
test: Drop unused get_machine function
The removed get_machine function is no longer used since #21255.
This commit is contained in:
@@ -16,10 +16,6 @@ def call_symbol_check(cc, source, executable, options):
|
||||
os.remove(executable)
|
||||
return (p.returncode, p.stdout.rstrip())
|
||||
|
||||
def get_machine(cc):
|
||||
p = subprocess.run([cc,'-dumpmachine'], stdout=subprocess.PIPE, universal_newlines=True)
|
||||
return p.stdout.rstrip()
|
||||
|
||||
class TestSymbolChecks(unittest.TestCase):
|
||||
def test_ELF(self):
|
||||
source = 'test1.c'
|
||||
|
Reference in New Issue
Block a user