mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
This is the common convention for TAP, and makes harnesses like prove automatically detect them. Plus, test suites don’t have to be shell scripts anymore. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
11 lines
158 B
Makefile
11 lines
158 B
Makefile
T = $(sort $(wildcard *.t))
|
|
|
|
check: $(T)
|
|
|
|
clean:
|
|
$(RM) -r test-results/
|
|
|
|
$(T):
|
|
@echo "*** $@ ***"; $(SHELL) $@
|
|
|
|
.PHONY: check $(FOREIGN_TARGETS) clean $(T)
|