chiark / gitweb /
syntax: Support &: literal (for make `grouped' multiple targets)
[subdirmk.git] / tests / tests.mk
1 # subdirmk - part of the test suite
2 #  Copyright 2019 Mark Wooding
3 #  Copyright 2019 Ian Jackson
4 # SPDX-License-Identifier: LGPL-2.0-or-later
5 # There is NO WARRANTY.
6
7 TESTS=$(wildcard tests/*/check)
8
9 all: $(addsuffix .done, $(TESTS))
10
11 .PHONY: tests/%/check.done all
12
13 tests/%/check.done:
14         tests/$*/check >tests/$*/log 2>&1
15         @echo $* ok.