4 &TESTSCRIPTS ?= $(wildcard &^/t-[a-z]*[0-9a-z])
5 ifneq ($(OLD_SECNET_DIR),)
6 &TESTSCRIPTS += $(wildcard &^/t-C*[0-9a-z])
9 &TESTNAMES := $(patsubst t-%,%,$(notdir $(&TESTSCRIPTS)))
11 &DEPS += $(src)/test-common.tcl
13 &DEPS += $(src)/test-common.sd.mk
16 &check-real: $(foreach t,$(&TESTNAMES),&d-$t/ok)
22 &d-%/ok: &^/t-% $(&DEPS)
23 $(CHECK_SILENT) rm -rf &d-$*; mkdir &d-$*
24 $(CHECK_SILENT) export SECNET_TEST_BUILDDIR=$(topbuilddir); \
25 export PYTHONBYTECODEBASE=/dev/null; \
27 &/t-$* >$(topbuilddir)/&/d-$*/log 2>&\&1 \
28 || { cat $(topbuilddir)/&/d-$*/log >&\&2; false; }
29 $(CHECK_SILENT) printf "&/$* "
30 $(CHECK_SILENT) touch $@