mirror of
https://github.com/holub/mame
synced 2025-05-14 18:08:13 +03:00

* 3rdparty/zstd: Added Zstandard compression library version 1.5.5. * util/unzip.cpp: Added support for Zstandard compression (method 93). * util/chdcodec.cpp: Added support for Zstandard compression. * 3rdparty/flac: Always define NDEBUG to avoid log spam.
17 lines
324 B
Bash
Executable File
17 lines
324 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "$COMMON/format.sh"
|
|
|
|
set -e
|
|
|
|
# Test --format
|
|
zstd --format=zstd file -f
|
|
zstd -t file.zst
|
|
for format in "gzip" "lz4" "xz" "lzma"; do
|
|
if zstd_supports_format $format; then
|
|
zstd --format=$format file
|
|
zstd -t file.$(format_extension $format)
|
|
zstd -c --format=$format file | zstd -t --format=$format
|
|
fi
|
|
done
|