chiark / gitweb /
Add 'subdirmk/' from commit 'f1789a0ae66174a95c8d629738eae98d40c084ac'
[secnet.git] / test-common.make.in
index 6147bb522ba41ed0dc9ad560893a75c4fb83f815..d862480cae7df6d4883078db14f27613ccaaa97f 100644 (file)
@@ -21,7 +21,8 @@ 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
+        $(TESTDIR)/t-$* >$(topbuilddir)/$(TESTDIR)/d-$*/log 2>&1 \
+        || { cat $(topbuilddir)/$(TESTDIR)/d-$*/log >&2; false; }
        @printf "$(TESTDIR)/$* "
        @touch $@