aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2024-05-10 00:13:50 +0800
committerfanquake <fanquake@gmail.com>2024-05-10 00:13:50 +0800
commitb59a027d957a4cffd225a681e6c85f9ae7fd77f3 (patch)
tree8b955814e131d7c16dc96ca9aa29555d463af9db
parente6aba463adeb88fc707342a12fef658f68b0a0ea (diff)
downloadbitcoin-b59a027d957a4cffd225a681e6c85f9ae7fd77f3.tar.xz
contrib: drop dead get_machine from test sym check
-rwxr-xr-xcontrib/devtools/test-symbol-check.py4
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'