aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-10-29 11:39:26 +0100
committerHarald Welte <laforge@gnumonks.org>2017-10-29 12:10:13 +0100
commit9dab1baef8053b503f2474502b4c351b39c4d416 (patch)
treebb599ddb5aaa7c2aace45e6d32aa70dbcfd7b908
parentf826e8ab2b5130bf4c0589c5f2abc57861a275a4 (diff)
Debian: print test results in case of failure + clean-up autotest
-rwxr-xr-xdebian/rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 7623f748..cad7dfca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,3 +17,12 @@ override_dh_strip:
override_dh_autoreconf:
echo $(VERSION) > .tarball-version
dh_autoreconf
+
+override_dh_clean:
+ dh_clean
+ $(RM) tests/package.m4
+ $(RM) test/testsuite
+
+# Print test results in case of a failure
+override_dh_auto_test:
+ dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)