chiark / gitweb /
dgit: import-dsc: Parse `Dgit:' field properly, using only \w+
[dgit.git] / tests / Makefile
1 # usage: tests/using-intree make -f tests/Makefile
2 # (optionally setting TESTSCRIPTS='tests/tests/foo tests/tests/bar')
3
4 TESTSCRIPTS ?= $(shell tests/enumerate-tests)
5 TESTNAMES := $(notdir $(TESTSCRIPTS))
6
7 all: $(foreach t,$(TESTNAMES),tests/tmp/$t.ok)
8         @echo "ALL PASSED"
9
10 tests/tmp:
11         mkdir -p $@
12
13 tests/tmp/%.ok: tests/tmp
14         tests/tests/$* >tests/tmp/$*.log 2>&1