summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2019-05-16 22:56:42 (GMT)
committerGitHub <noreply@github.com>2019-05-16 22:56:42 (GMT)
commita7151324af18216119bf3489f159bef8b74323f2 (patch)
tree4cb90d19be21da6c2b7d60d35633e157c2c7d8e8 /tests/Makefile
parentdf2451479cc70e73e96466f0bc341bdac722bbe9 (diff)
parent81081f9b2d6e114b06f7a3eecc8e6a20bb88e035 (diff)
downloadlz4-a7151324af18216119bf3489f159bef8b74323f2.zip
lz4-a7151324af18216119bf3489f159bef8b74323f2.tar.gz
lz4-a7151324af18216119bf3489f159bef8b74323f2.tar.bz2
Merge pull request #708 from gabrielstedman/list
Add multiframe report to --list command
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 8f0dfd3..dbb7bd5 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -55,7 +55,7 @@ NB_LOOPS ?= -i1
default: all
-all: fullbench fuzzer frametest roundTripTest datagen checkFrame
+all: fullbench fuzzer frametest roundTripTest datagen checkFrame listTest
all32: CFLAGS+=-m32
all32: all
@@ -122,10 +122,13 @@ clean:
versionsTest:
$(PYTHON) test-lz4-versions.py
+.PHONY: listTest
+listTest: lz4
+ QEMU_SYS=$(QEMU_SYS) $(PYTHON) test-lz4-list.py
+
checkTag: checkTag.c $(LZ4DIR)/lz4.h
$(CC) $(FLAGS) $< -o $@$(EXT)
-
#-----------------------------------------------------------------------------
# validated only for Linux, OSX, BSD, Hurd and Solaris targets
#-----------------------------------------------------------------------------
@@ -463,6 +466,8 @@ test-mem: lz4 datagen fuzzer frametest fullbench
valgrind --leak-check=yes --error-exitcode=1 $(LZ4) -bi1 ftmdg7M
valgrind --leak-check=yes --error-exitcode=1 ./fullbench -i1 ftmdg7M ftmdg16K2
valgrind --leak-check=yes --error-exitcode=1 $(LZ4) -B4D -f -vq ftmdg7M $(VOID)
+ valgrind --leak-check=yes --error-exitcode=1 $(LZ4) --list -m ftm*.lz4
+ valgrind --leak-check=yes --error-exitcode=1 $(LZ4) --list -m -v ftm*.lz4
$(RM) ftm*
valgrind --leak-check=yes --error-exitcode=1 ./fuzzer -i64 -t1
valgrind --leak-check=yes --error-exitcode=1 ./frametest -i256