4 TESTSCRIPTS ?= $(shell echo $(srcdir)/t-*[0-9a-z])
5 TESTNAMES := $(patsubst t-%,%,$(notdir $(TESTSCRIPTS)))
7 DEPS += $(topdir)/test-common.tcl
8 DEPS += $(topdir)/common.make
9 DEPS += $(topdir)/test-common.make
16 check-real: $(foreach t,$(TESTNAMES),d-$t/ok)
18 d-%/ok: $(srcdir)/t-% $(DEPS)
19 @rm -rf d-$*; mkdir d-$*
20 export SECNET_TEST_BUILDDIR=$(topbuilddir); \
21 cd $(topdir) && $(TESTDIR)/t-$* >$(topbuilddir)/$(TESTDIR)/d-$*/log 2>&1