added make list capability to tests/Makefile
This commit is contained in:
@@ -292,15 +292,23 @@ ifneq (,$(filter $(shell uname),SunOS))
|
|||||||
DIFF:=gdiff
|
DIFF:=gdiff
|
||||||
endif
|
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
|
zstd-playTests: datagen
|
||||||
file $(ZSTD)
|
file $(ZSTD)
|
||||||
ZSTD="$(QEMU_SYS) $(ZSTD)" ./playTests.sh $(ZSTDRTTEST)
|
ZSTD="$(QEMU_SYS) $(ZSTD)" ./playTests.sh $(ZSTDRTTEST)
|
||||||
|
|
||||||
|
.PHONY: shortest
|
||||||
shortest: ZSTDRTTEST=
|
shortest: ZSTDRTTEST=
|
||||||
shortest: test-zstd
|
shortest: test-zstd
|
||||||
|
|
||||||
|
.PHONY: fuzztest
|
||||||
fuzztest: test-fuzzer test-zstream test-decodecorpus
|
fuzztest: test-fuzzer test-zstream test-decodecorpus
|
||||||
|
|
||||||
|
.PHONY: test
|
||||||
test: test-zstd test-fullbench test-fuzzer test-zstream test-invalidDictionaries test-legacy test-decodecorpus
|
test: test-zstd test-fullbench test-fuzzer test-zstream test-invalidDictionaries test-legacy test-decodecorpus
|
||||||
ifeq ($(QEMU_SYS),)
|
ifeq ($(QEMU_SYS),)
|
||||||
test: test-pool
|
test: test-pool
|
||||||
|
|||||||
Reference in New Issue
Block a user