1 # usage: tests/using-intree make -f tests/Makefile
2 # (optionally setting TESTSCRIPTS='tests/tests/foo tests/tests/bar')
4 TESTSCRIPTS ?= $(shell run-parts --list tests/tests)
5 TESTNAMES := $(notdir $(TESTSCRIPTS))
7 all: $(foreach t,$(TESTNAMES),tests/tmp/$t.ok)
13 tests/tmp/%.ok: tests/tmp
14 tests/tests/$* >tests/tmp/$*.log 2>&1