From: Yann Collet Date: Sun, 14 Jan 2018 05:54:21 +0000 (-0800) Subject: added `make list` capability to `tests/Makefile` X-Git-Tag: v1.3.4~1^2~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8a05932b9bfd504614b15b8898eaaa3e3b8520b;p=thirdparty%2Fzstd.git added `make list` capability to `tests/Makefile` --- diff --git a/tests/Makefile b/tests/Makefile index 48ae17538..852ea7379 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -292,15 +292,23 @@ ifneq (,$(filter $(shell uname),SunOS)) DIFF:=gdiff endif +.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: zstd-playTests zstd-playTests: datagen file $(ZSTD) ZSTD="$(QEMU_SYS) $(ZSTD)" ./playTests.sh $(ZSTDRTTEST) +.PHONY: shortest shortest: ZSTDRTTEST= shortest: test-zstd +.PHONY: fuzztest fuzztest: test-fuzzer test-zstream test-decodecorpus +.PHONY: test test: test-zstd test-fullbench test-fuzzer test-zstream test-invalidDictionaries test-legacy test-decodecorpus ifeq ($(QEMU_SYS),) test: test-pool