mirror of
https://github.com/facebook/zstd.git
synced 2025-08-01 09:47:01 +03:00
Add CI Test for Excluding Matchfinders
This commit is contained in:
1
.github/workflows/dev-short-tests.yml
vendored
1
.github/workflows/dev-short-tests.yml
vendored
@ -348,6 +348,7 @@ jobs:
|
||||
make clean && make check MOREFLAGS="-Werror -DHUF_FORCE_DECOMPRESS_X2 -DZSTD_FORCE_DECOMPRESS_SEQUENCES_LONG"
|
||||
make clean && make -j all MOREFLAGS="-Werror -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS"
|
||||
make clean && make check MOREFLAGS="-Werror -DZSTD_NO_INLINE -DZSTD_STRIP_ERROR_STRINGS"
|
||||
make clean && make check ZSTD_LIB_EXCLUDE_COMPRESSORS_DFAST_AND_UP=1 MOREFLAGS="-Werror"
|
||||
|
||||
dynamic-bmi2:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -1602,22 +1602,24 @@ roundTripTest -g1M -P50 "1 --single-thread --long=29" " --long=28 --memory=512MB
|
||||
roundTripTest -g1M -P50 "1 --single-thread --long=29" " --zstd=wlog=28 --memory=512MB"
|
||||
|
||||
|
||||
println "\n===> zstd long distance matching with optimal parser compressed size tests "
|
||||
optCSize16=$(datagen -g511K | zstd -16 -c | wc -c)
|
||||
longCSize16=$(datagen -g511K | zstd -16 --long -c | wc -c)
|
||||
optCSize19=$(datagen -g2M | zstd -19 -c | wc -c)
|
||||
longCSize19=$(datagen -g2M | zstd -19 --long -c | wc -c)
|
||||
optCSize19wlog23=$(datagen -g2M | zstd -19 -c --zstd=wlog=23 | wc -c)
|
||||
longCSize19wlog23=$(datagen -g2M | zstd -19 -c --long=23 | wc -c)
|
||||
if [ "$longCSize16" -gt "$optCSize16" ]; then
|
||||
if [ "$ZSTD_LIB_EXCLUDE_COMPRESSORS_DFAST_AND_UP" -ne "1" ]; then
|
||||
println "\n===> zstd long distance matching with optimal parser compressed size tests "
|
||||
optCSize16=$(datagen -g511K | zstd -16 -c | wc -c)
|
||||
longCSize16=$(datagen -g511K | zstd -16 --long -c | wc -c)
|
||||
optCSize19=$(datagen -g2M | zstd -19 -c | wc -c)
|
||||
longCSize19=$(datagen -g2M | zstd -19 --long -c | wc -c)
|
||||
optCSize19wlog23=$(datagen -g2M | zstd -19 -c --zstd=wlog=23 | wc -c)
|
||||
longCSize19wlog23=$(datagen -g2M | zstd -19 -c --long=23 | wc -c)
|
||||
if [ "$longCSize16" -gt "$optCSize16" ]; then
|
||||
echo using --long on compression level 16 should not cause compressed size regression
|
||||
exit 1
|
||||
elif [ "$longCSize19" -gt "$optCSize19" ]; then
|
||||
elif [ "$longCSize19" -gt "$optCSize19" ]; then
|
||||
echo using --long on compression level 19 should not cause compressed size regression
|
||||
exit 1
|
||||
elif [ "$longCSize19wlog23" -gt "$optCSize19wlog23" ]; then
|
||||
elif [ "$longCSize19wlog23" -gt "$optCSize19wlog23" ]; then
|
||||
echo using --long on compression level 19 with wLog=23 should not cause compressed size regression
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
println "\n===> zstd asyncio tests "
|
||||
|
Reference in New Issue
Block a user