From b59a027d957a4cffd225a681e6c85f9ae7fd77f3 Mon Sep 17 00:00:00 2001 From: fanquake Date: Fri, 10 May 2024 00:13:50 +0800 Subject: [PATCH] contrib: drop dead get_machine from test sym check --- contrib/devtools/test-symbol-check.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/contrib/devtools/test-symbol-check.py b/contrib/devtools/test-symbol-check.py index 0140decb25..b00004586c 100755 --- a/contrib/devtools/test-symbol-check.py +++ b/contrib/devtools/test-symbol-check.py @@ -27,10 +27,6 @@ def call_symbol_check(cc: list[str], source, executable, options): os.remove(executable) return (p.returncode, p.stdout.rstrip()) -def get_machine(cc: list[str]): - p = subprocess.run([*cc,'-dumpmachine'], stdout=subprocess.PIPE, text=True) - return p.stdout.rstrip() - class TestSymbolChecks(unittest.TestCase): def test_ELF(self): source = 'test1.c'