1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

Tests: Skip RISC-V test files if decoder was not built.

This commit is contained in:
Jia Tan 2024-01-23 23:50:57 +08:00
parent 6133a3f300
commit 44ff2fa5c9

View file

@ -80,6 +80,11 @@ do
have_feature DECODER_ARM64 "$I" || continue have_feature DECODER_ARM64 "$I" || continue
;; ;;
esac 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 if test -z "$XZ" || "$XZ" $NO_WARN -dc "$I" > /dev/null; then
: :