From f8a05932b9bfd504614b15b8898eaaa3e3b8520b Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Sat, 13 Jan 2018 21:54:21 -0800 Subject: [PATCH] added `make list` capability to `tests/Makefile` --- tests/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.47.2