X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=test-common.make.in;h=d862480cae7df6d4883078db14f27613ccaaa97f;hb=1d6b0ba15b1906d2cf243953a61a5020f65c5bf7;hp=8864bf504995c6df6fa311a985bc0b4e70a2d448;hpb=2fc5c7dc91df196516af4bc3f5cbd52268e9432c;p=secnet.git diff --git a/test-common.make.in b/test-common.make.in index 8864bf5..d862480 100644 --- a/test-common.make.in +++ b/test-common.make.in @@ -21,8 +21,9 @@ d-%/ok: $(srcdir)/t-% $(DEPS) @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: