aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2024-01-23 23:50:57 +0800
committerJia Tan <jiat0218@gmail.com>2024-01-23 23:55:39 +0800
commit44ff2fa5c94dc345c4dd69195a19fc5238df60b3 (patch)
tree9ed53172971e76d67ea4dcdaab6a5fde45c43bd6
parentxz: Man page: Add more examples of LZMA2 options with BCJ filters. (diff)
downloadxz-44ff2fa5c94dc345c4dd69195a19fc5238df60b3.tar.xz
Tests: Skip RISC-V test files if decoder was not built.
-rwxr-xr-xtests/test_files.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_files.sh b/tests/test_files.sh
index b1505f7b..12f71f3a 100755
--- a/tests/test_files.sh
+++ b/tests/test_files.sh
@@ -80,6 +80,11 @@ do
have_feature DECODER_ARM64 "$I" || continue
;;
esac
+ case $I in
+ */good-1-riscv-lzma2-*.xz)
+ have_feature DECODER_RISCV "$I" || continue
+ ;;
+ esac
if test -z "$XZ" || "$XZ" $NO_WARN -dc "$I" > /dev/null; then
: