test: Drop unused get_machine function

The removed get_machine function is no longer used since #21255.
This commit is contained in:
Hennadii Stepanov 2021-03-13 18:29:08 +02:00
parent 61a0f8f9cc
commit 0fc0c00f7a
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -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'