about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2016-03-01 20:42:19 +0100
committerMichael Biebl <biebl@debian.org>2016-03-01 20:42:21 +0100
commit321b45b952f26a6af81267ce9133ad6af4584404 (patch)
treec5f59a7856134c31d4f618f9d1376077e2c52a50
parentbdb308743308f89ecf8e301c26e6bd0391ec4f61 (diff)
Dump the contents of test-suite.log to stdout when the test suite fails
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules3
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 3a8e687a..ae4c5411 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ network-manager (1.1.91-1) UNRELEASED; urgency=medium
   * Ship /etc/NetworkManager/dnsmasq-shared.d/ directory which can be used to
     extend the dnsmasq configuration for shared connections.
   * Fix bashism in tools/run-test-dbus-session.sh.
+  * Dump the contents of test-suite.log to stdout when the test suite fails.
 
  -- Michael Biebl <biebl@debian.org>  Tue, 01 Mar 2016 16:56:21 +0100
 
diff --git a/debian/rules b/debian/rules
index 584f88b8..d53ae20a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -72,3 +72,6 @@ override_dh_systemd_start:
 
 override_dh_ppp:
 	dh_ppp --breaks
+
+override_dh_auto_test:
+	make check || ( find . -name test-suite.log -exec cat {} \;; exit 1; )