@rm -rf d-$*; mkdir d-$*
@export SECNET_TEST_BUILDDIR=$(topbuilddir); \
cd $(topdir) && \
- $(TESTDIR)/t-$* >$(topbuilddir)/$(TESTDIR)/d-$*/log 2>&1
- @printf "$* "
+ $(TESTDIR)/t-$* >$(topbuilddir)/$(TESTDIR)/d-$*/log 2>&1 \
+ || { cat $(topbuilddir)/$(TESTDIR)/d-$*/log >&2; false; }
+ @printf "$(TESTDIR)/$* "
@touch $@
clean: