Say which test file failed in readelf tests
authorEli Bendersky <eliben@gmail.com>
Thu, 16 Jun 2022 13:42:36 +0000 (06:42 -0700)
committerEli Bendersky <eliben@gmail.com>
Thu, 16 Jun 2022 13:42:36 +0000 (06:42 -0700)
[otherwise in parallel mode it's hard to know]

test/run_readelf_tests.py

index 56767c5ffd81c6298d60f52a9664e2670ac2289c..3d92d9de11797c23cda997b8b4c312f34cf18efb 100755 (executable)
@@ -112,6 +112,7 @@ def run_test_on_file(filename, verbose=False, opt=None):
         else:
             success = False
             testlog.info('.......................FAIL')
+            testlog.info('....for file %s' % filename)
             testlog.info('....for option "%s"' % option)
             testlog.info('....Output #1 is readelf, Output #2 is pyelftools')
             testlog.info('@@ ' + errmsg)