diff options
author | fanquake <fanquake@gmail.com> | 2024-05-10 00:13:50 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2024-05-10 00:13:50 +0800 |
commit | b59a027d957a4cffd225a681e6c85f9ae7fd77f3 (patch) | |
tree | 8b955814e131d7c16dc96ca9aa29555d463af9db /contrib | |
parent | e6aba463adeb88fc707342a12fef658f68b0a0ea (diff) |
contrib: drop dead get_machine from test sym check
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/devtools/test-symbol-check.py | 4 |
1 files changed, 0 insertions, 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' |