Skip to content

Commit 0fc0c00

Browse files
committed
test: Drop unused get_machine function
The removed get_machine function is no longer used since #21255.
1 parent 61a0f8f commit 0fc0c00

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

contrib/devtools/test-symbol-check.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ def call_symbol_check(cc, source, executable, options):
1616
os.remove(executable)
1717
return (p.returncode, p.stdout.rstrip())
1818

19-
def get_machine(cc):
20-
p = subprocess.run([cc,'-dumpmachine'], stdout=subprocess.PIPE, universal_newlines=True)
21-
return p.stdout.rstrip()
22-
2319
class TestSymbolChecks(unittest.TestCase):
2420
def test_ELF(self):
2521
source = 'test1.c'

0 commit comments

Comments
 (0)