mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-06-28 16:46:35 +00:00
d71e02723e
Signed-off-by: Qi Zheng <qi.zheng@intel.com>
16 lines
320 B
Makefile
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)
|