summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2024-10-22 13:48:22 +0200
committerMark Wielaard <[email protected]>2024-10-24 00:07:21 +0200
commit5c3e02e5dc3dd46a07d5d9d148dcc8000191c834 (patch)
treeb038cca4581a6ba8044ea5b2b6ad8a2645c87970 /tests
parent0f3b436b7e4fc4d310be79a62e40a115fdc482d0 (diff)
tests: run-debuginfod-seekable.sh depends on LZMA and DEBUGINFOD
The run-debuginfod-seekable.sh test would run (and fail) if lzma support was enabled, but debuginfod wasn't build. Only run it when both are available. * tests/Makefile.am (TESTS): Add run-debuginfod-seekable.sh if DEBUGINFOD and LZMA. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 76f1682f..6dc255a9 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -228,7 +228,7 @@ export ELFUTILS_DISABLE_DEMANGLE = 1
endif
if LZMA
-TESTS += run-readelf-s.sh run-dwflsyms.sh run-debuginfod-seekable.sh
+TESTS += run-readelf-s.sh run-dwflsyms.sh
endif
if HAVE_ZSTD
@@ -277,6 +277,9 @@ TESTS += run-srcfiles-self.sh \
run-debuginfod-client-profile.sh \
run-debuginfod-find-metadata.sh \
run-debuginfod-longsource.sh
+if LZMA
+TESTS += run-debuginfod-seekable.sh
+endif
endif
if !OLD_LIBMICROHTTPD
# Will crash on too old libmicrohttpd