aboutsummaryrefslogtreecommitdiff
path: root/tests/test_compress.sh
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-01-06 00:03:35 +0800
committerJia Tan <jiat0218@gmail.com>2023-07-17 23:34:55 +0800
commita6583726e5f950278f96abcf79c04f1056810be6 (patch)
tree7fc2eafa0b28ef70b9e75501b12df1852bc5332f /tests/test_compress.sh
parentxz: Update --long-help and man page for new --filters option. (diff)
downloadxz-a6583726e5f950278f96abcf79c04f1056810be6.tar.xz
Tests: Use new --filters option in test_compress.sh
Diffstat (limited to '')
-rwxr-xr-xtests/test_compress.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/test_compress.sh b/tests/test_compress.sh
index 0aa81001..46244cc6 100755
--- a/tests/test_compress.sh
+++ b/tests/test_compress.sh
@@ -133,17 +133,17 @@ test_filter()
grep "define HAVE_ENCODER_$1 1" ../config.h > /dev/null || return
grep "define HAVE_DECODER_$1 1" ../config.h > /dev/null || return
shift
- test_xz "$@" --lzma2=dict=64KiB,nice=32,mode=fast
+ test_xz --filters="$* lzma2:dict=64KiB,nice=32,mode=fast"
}
-test_filter DELTA --delta=dist=1
-test_filter DELTA --delta=dist=4
-test_filter DELTA --delta=dist=256
-test_filter X86 --x86
-test_filter POWERPC --power
-test_filter IA64 --ia64
-test_filter ARM --arm
-test_filter ARMTHUMB --armthumb
-test_filter SPARC --sparc
+test_filter DELTA delta:dist=1
+test_filter DELTA delta:dist=4
+test_filter DELTA delta:dist=256
+test_filter X86 x86
+test_filter POWERPC powerpc
+test_filter IA64 ia64
+test_filter ARM arm
+test_filter ARMTHUMB armthumb
+test_filter SPARC sparc
exit 0