dump test results into build log on test failure to help with #837351
authorBdale Garbee <bdale@gag.com>
Thu, 8 Jun 2017 18:20:47 +0000 (12:20 -0600)
committerBdale Garbee <bdale@gag.com>
Thu, 8 Jun 2017 18:20:47 +0000 (12:20 -0600)
debian/changelog
debian/rules

index 6351eb744e378434d2b68113cdef010cae779700..f7f3daee2af991ccef461dd218204f3d3b32dbcd 100644 (file)
@@ -1,3 +1,9 @@
+tar (1.29b-3) UNRELEASED; urgency=medium
+
+  * dump test results into build log on make check failure for kfreebsd team
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 08 Jun 2017 12:20:20 -0600
+
 tar (1.29b-2) unstable; urgency=medium
 
   * add suggests tar-doc, closes: #856958
index 6ed8fe2060cf0ee32c0e48594079e16f33de9433..7c2f21c0ca2b40c85364f7ca9332ebba08fea9c1 100755 (executable)
@@ -49,7 +49,7 @@ ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
          echo "Sorry, but the test suite is not designed to be run as root."; \
          exit 1 ;\
        fi
-       $(MAKE) check
+       $(MAKE) check || { cat tests/testsuite.log; false; }
 endif
 endif