Tests: Add two ARM64 test files.
This commit is contained in:
parent
f5e4195506
commit
60f45bdbaa
|
@ -73,6 +73,13 @@
|
||||||
uncompressed file is compress_prepared_bcj_sparc found from the tests
|
uncompressed file is compress_prepared_bcj_sparc found from the tests
|
||||||
directory.
|
directory.
|
||||||
|
|
||||||
|
good-1-arm64-lzma2-1.xz uses the ARM64 filter and LZMA2. The
|
||||||
|
uncompressed data is constructed so that it tests integer
|
||||||
|
wrap around and sign extension.
|
||||||
|
|
||||||
|
good-1-arm64-lzma2-2.xz is like good-1-arm64-lzma2-1.xz but with
|
||||||
|
non-zero start offset. XZ Embedded doesn't support this file.
|
||||||
|
|
||||||
good-1-lzma2-1.xz has two LZMA2 chunks, of which the second sets
|
good-1-lzma2-1.xz has two LZMA2 chunks, of which the second sets
|
||||||
new properties.
|
new properties.
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -75,6 +75,11 @@ do
|
||||||
have_feature DECODER_X86 "$I" || continue
|
have_feature DECODER_X86 "$I" || continue
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
case $I in
|
||||||
|
*/good-1-arm64-lzma2-*.xz)
|
||||||
|
have_feature DECODER_ARM64 "$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
|
||||||
:
|
:
|
||||||
|
|
Loading…
Reference in New Issue