blob: 011bd3c2b75effc9df9c8fc5b9c580f8bcffa339 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# usage: tests/using-intree make -f tests/Makefile
# (optionally setting TESTSCRIPTS='tests/tests/foo tests/tests/bar')
TESTSCRIPTS ?= $(shell run-parts --list tests/tests)
TESTNAMES := $(notdir $(TESTSCRIPTS))
all: $(foreach t,$(TESTNAMES),tests/tmp/$t.ok)
@echo "ALL PASSED"
tests/tmp:
mkdir -p $@
tests/tmp/%.ok: tests/tmp
tests/tests/$* >tests/tmp/$*.log 2>&1
|