Skip to content

Commit f8a0593

Browse files
committed
added make list capability to tests/Makefile
1 parent 9477f65 commit f8a0593

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,15 +292,23 @@ ifneq (,$(filter $(shell uname),SunOS))
292292
DIFF:=gdiff
293293
endif
294294

295+
.PHONY: list
296+
list:
297+
@$(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
298+
299+
.PHONY: zstd-playTests
295300
zstd-playTests: datagen
296301
file $(ZSTD)
297302
ZSTD="$(QEMU_SYS) $(ZSTD)" ./playTests.sh $(ZSTDRTTEST)
298303

304+
.PHONY: shortest
299305
shortest: ZSTDRTTEST=
300306
shortest: test-zstd
301307

308+
.PHONY: fuzztest
302309
fuzztest: test-fuzzer test-zstream test-decodecorpus
303310

311+
.PHONY: test
304312
test: test-zstd test-fullbench test-fuzzer test-zstream test-invalidDictionaries test-legacy test-decodecorpus
305313
ifeq ($(QEMU_SYS),)
306314
test: test-pool

0 commit comments

Comments
 (0)