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
1 changed files with 5 additions and 0 deletions

View File

@ -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
: