mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 06:52:36 +01:00
test: Drop unused get_machine function
The removed get_machine function is no longer used since #21255.
This commit is contained in:
parent
61a0f8f9cc
commit
0fc0c00f7a
1 changed files with 0 additions and 4 deletions
|
@ -16,10 +16,6 @@ def call_symbol_check(cc, source, executable, options):
|
||||||
os.remove(executable)
|
os.remove(executable)
|
||||||
return (p.returncode, p.stdout.rstrip())
|
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):
|
class TestSymbolChecks(unittest.TestCase):
|
||||||
def test_ELF(self):
|
def test_ELF(self):
|
||||||
source = 'test1.c'
|
source = 'test1.c'
|
||||||
|
|
Loading…
Add table
Reference in a new issue