test: Drop unused get_machine function
The removed get_machine function is no longer used since #21255.
This commit is contained in:
1 file changed
-4
@@ -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'
|
||||||
|
|||||||
Reference in new issue
Block a user