From 84bc3f98d74726342e55f81021b610324d38dfbf Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Sat, 6 Apr 2013 06:44:33 -0700 Subject: [PATCH] Clarify how/why we look for binutils's readelf --- test/run_readelf_tests.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/run_readelf_tests.py b/test/run_readelf_tests.py index 25a97c9..d910123 100755 --- a/test/run_readelf_tests.py +++ b/test/run_readelf_tests.py @@ -24,6 +24,11 @@ testlog.setLevel(logging.DEBUG) testlog.addHandler(logging.StreamHandler(sys.stdout)) # Set the path for calling readelf. By default this is the system readelf. +# The first assignment to READELF_PATH reflects the binutils version I used +# to test the current pyelftools with. +# Alas, binutils's readelf changes its output slightly even between minor +# releases so a lot of bogus differences can occur; this is why an exact version +# is specified to reproduce the tests. # READELF_PATH = '/home/eliben/test/binutils-2.23.52/binutils/readelf' if not os.path.exists(READELF_PATH): -- 2.30.2