]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Tests: Skip RISC-V test files if decoder was not built.
authorJia Tan <jiat0218@gmail.com>
Tue, 23 Jan 2024 15:50:57 +0000 (23:50 +0800)
committerJia Tan <jiat0218@gmail.com>
Tue, 23 Jan 2024 15:55:39 +0000 (23:55 +0800)
tests/test_files.sh

index b1505f7bec1e28a4d0617fbb87b42bfdd9793bb7..12f71f3ab3364591f23385eca60a81005193f128 100755 (executable)
@@ -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
                :