summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2016-11-09 23:04:55 (GMT)
committerYann Collet <cyan@fb.com>2016-11-09 23:04:55 (GMT)
commit1b95d60c66bfc80b77066f929263cf3aac412434 (patch)
treeaf18582ad19d8aff00e00dc090b7f12d60d7aff6 /tests
parentacc48a3f85e5c97a102999544248ee7e51cc419b (diff)
downloadlz4-1b95d60c66bfc80b77066f929263cf3aac412434.zip
lz4-1b95d60c66bfc80b77066f929263cf3aac412434.tar.gz
lz4-1b95d60c66bfc80b77066f929263cf3aac412434.tar.bz2
fixed synthetic benchmark mode
slightly optimized test mode
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index e6779d9..56c299b 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -230,9 +230,12 @@ test-lz4-hugefile: lz4 datagen
@$(RM) tmp*
test-lz4-testmode: lz4 datagen
- @echo "\n ---- test and pass-through ----"
+ @echo "\n ---- bench mode ----"
+ $(PRGDIR)/lz4 -bi1
+ @echo "\n ---- test mode ----"
./datagen | $(PRGDIR)/lz4 -t && false || true
./datagen | $(PRGDIR)/lz4 -tf && false || true
+ @echo "\n ---- pass-through mode ----"
./datagen | $(PRGDIR)/lz4 -d > $(VOID) && false || true
./datagen | $(PRGDIR)/lz4 -df > $(VOID)
@echo "Hello World !" > tmp1