Files
dockerfiles/tests/Makefile
2020-01-13 15:13:49 +08:00

16 lines
311 B
Makefile

HOSTNAME := $(shell hostname -f)
SUBDIR = $(shell ls -d */)
test_units := $(patsubst %/,%,$(SUBDIR))
all:
@echo "use 'make tests' to run all tests'"
@echo "use 'make TEST' to run individual test: ${test_units}"
.PHONY: $(test_units)
$(test_units):
sh exec.sh $@
.NOTPARALLEL: tests
tests: $(test_units)