Skip to content

Commit b59a027

Browse files
committed
contrib: drop dead get_machine from test sym check
1 parent e6aba46 commit b59a027

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
@@ -27,10 +27,6 @@ def call_symbol_check(cc: list[str], source, executable, options):
2727
os.remove(executable)
2828
return (p.returncode, p.stdout.rstrip())
2929

30-
def get_machine(cc: list[str]):
31-
p = subprocess.run([*cc,'-dumpmachine'], stdout=subprocess.PIPE, text=True)
32-
return p.stdout.rstrip()
33-
3430
class TestSymbolChecks(unittest.TestCase):
3531
def test_ELF(self):
3632
source = 'test1.c'

0 commit comments

Comments
 (0)