summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2019-04-08 20:45:01 (GMT)
committerYann Collet <cyan@fb.com>2019-04-08 20:45:01 (GMT)
commit5db9a2f8b6476b588bae84205718bdb7f3a1967e (patch)
tree72b3ff3509cdbda3d5e4f9de52e005dd92806505 /tests
parentc198a39a663d5a36d2d564a2a4140485e42404bb (diff)
downloadlz4-5db9a2f8b6476b588bae84205718bdb7f3a1967e.zip
lz4-5db9a2f8b6476b588bae84205718bdb7f3a1967e.tar.gz
lz4-5db9a2f8b6476b588bae84205718bdb7f3a1967e.tar.bz2
added make list target to tests
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 7d49b31..bc88ece 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -151,12 +151,18 @@ endif
DD:=dd
+.PHONY: list
+list:
+ @$(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | sort | egrep -v -e '^[^[:alnum:]]' -e '^$@$$' | xargs
+.PHONY: test
test: test-lz4 test-lz4c test-frametest test-fullbench test-fuzzer test-install test-amalgamation
+.PHONY: test32
test32: CFLAGS+=-m32
test32: test
+.PHONY: test-amalgamation
test-amalgamation: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c
cat $(LZ4DIR)/lz4.c > lz4_all.c
cat $(LZ4DIR)/lz4hc.c >> lz4_all.c