summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2022-07-29 20:18:02 (GMT)
committerYann Collet <cyan@fb.com>2022-07-29 20:22:27 (GMT)
commit8f18b4b4e6de05b86036973e69aeaa1a31f7d271 (patch)
tree6e0d3fa0e0f150b0f1f2a7d05b544d6e72ff0b1f /tests/Makefile
parentf01b7b5209c447acdee0db817f239e9925497329 (diff)
downloadlz4-8f18b4b4e6de05b86036973e69aeaa1a31f7d271.zip
lz4-8f18b4b4e6de05b86036973e69aeaa1a31f7d271.tar.gz
lz4-8f18b4b4e6de05b86036973e69aeaa1a31f7d271.tar.bz2
introduced new `--no-crc` command
which disables both frame and block checksums.
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index d804f25..d266ae5 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -376,6 +376,7 @@ test-lz4-basic: lz4 datagen unlz4 lz4cat
$(LZ4) --no-frame-crc < $(FPREFIX)-dg20k | $(LZ4) -d > $(FPREFIX)-dec
$(DIFF) -q $(FPREFIX)-dg20k $(FPREFIX)-dec
$(DATAGEN) | $(LZ4) -BI | $(LZ4) -t
+ $(DATAGEN) | $(LZ4) --no-crc | $(LZ4) -t
$(DATAGEN) -g6M -P99 | $(LZ4) -9BD | $(LZ4) -t
$(DATAGEN) -g17M | $(LZ4) -9v | $(LZ4) -qt
$(DATAGEN) -g33M | $(LZ4) --no-frame-crc | $(LZ4) -t
@@ -479,6 +480,7 @@ test-lz4-testmode: lz4 datagen
$(DATAGEN) > $(FPREFIX)
$(LZ4) -f $(FPREFIX) -c > $(FPREFIX).lz4
$(LZ4) -bdi0 $(FPREFIX).lz4 # test benchmark decode-only mode
+ $(LZ4) -bdi0 --no-crc $(FPREFIX).lz4 # test benchmark decode-only mode
@echo "\n ---- test mode ----"
! $(DATAGEN) | $(LZ4) -t
! $(DATAGEN) | $(LZ4) -tf