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 <mark@klomp.org>
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
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