From: Eli Bendersky Date: Sat, 6 Apr 2013 13:44:33 +0000 (-0700) Subject: Clarify how/why we look for binutils's readelf X-Git-Tag: v0.21~10 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=84bc3f98d74726342e55f81021b610324d38dfbf;p=pyelftools.git Clarify how/why we look for binutils's readelf --- 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):