Files
dockerfiles/tests/Makefile
T
Qi Zheng d71e02723e Add travis test cases
Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-07-26 15:26:32 -07:00

16 lines
320 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):
cd $@; bats -t $@.bats
.NOTPARALLEL: tests
tests: $(test_units)