aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a3e5e42..d3f3c91 100644
--- a/Makefile
+++ b/Makefile
@@ -3,11 +3,11 @@ all: test
BINS=$(wildcard bin/app-*) $(wildcard libexec/app-*)
BATS=$(sort $(patsubst test/%,%,$(filter-out test/X-%,$(wildcard test/*.bats))))
-TESTS=$(addprefix bats-,$(BATS))
+TESTS=$(addprefix test-,$(BATS))
-bats-%:
- @echo === test/$(patsubst bats-%,%,$@)
- @bats test/$(patsubst bats-%,%,$@)
+test-%:
+ @echo === $@
+ @bats $(patsubst test-%,test/%,$@)
show-tests:
@echo BATS=$(BATS)