summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2013-02-22 23:42:59 +0100
committerMark Wielaard <[email protected]>2013-02-22 23:42:59 +0100
commitf6185a75448c395795182ed1e568484056e7a2bf (patch)
tree650306441329e704499afefb9571c1370321ff94 /tests
parent443304efce95d66ac089d95807a0002cf8558d13 (diff)
libdwfl: Try opening files all installed compression libraries.
rhbz #909481. When a compression library wasn't installed libdwfl would not try the next compression library for opening a file. Retry with the next available compression library if a previous one isn't installed. Also disable tests that depend on a particular compression library (run-readelf-s.sh and run-dwflsyms.sh) if that library isn't installed. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog5
-rw-r--r--tests/Makefile.am5
2 files changed, 9 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index c1e0ef96..d181cd56 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-22 Mark Wielaard <[email protected]>
+
+ * Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
+ (LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
+
2013-02-15 Mark Wielaard <[email protected]>
* testfile-dwzstr.bz2: New testfile.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 44b4e61b..63184f80 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -83,7 +83,6 @@ TESTS = run-arextract.sh run-arsymtest.sh newfile test-nlist \
run-test-flag-nobits.sh run-prelink-addr-test.sh \
run-dwarf-getstring.sh run-rerequest_tag.sh run-typeiter.sh \
run-readelf-d.sh run-readelf-gdb_index.sh run-unstrip-n.sh \
- run-readelf-s.sh run-dwflsyms.sh \
run-low_high_pc.sh run-macro-test.sh run-elf_cntl_gelf_getshdr.sh \
run-test-archive64.sh run-readelf-vmcoreinfo.sh \
run-readelf-mixed-corenote.sh
@@ -93,6 +92,10 @@ check_PROGRAMS += msg_tst md5-sha1-test
TESTS += msg_tst md5-sha1-test
endif
+if LZMA
+TESTS += run-readelf-s.sh run-dwflsyms.sh
+endif
+
if HAVE_LIBASM
check_PROGRAMS += $(asm_TESTS)
TESTS += $(asm_TESTS)