summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2016-02-11 21:11:38 +0100
committerRuben Undheim <ruben.undheim@gmail.com>2016-02-11 21:11:38 +0100
commit7f916ba20f8bcb1c068073145082212b0cd0a01c (patch)
treebb67d15ebc6bb36faafef50e0866a0f45c15ffb7
parent5290dddd04b2cfc212b52c7f6d24b0478207254b (diff)
Print test results in case of failure
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 6d7b6d4..60441b0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,3 +18,6 @@ override_dh_clean:
dh_clean
rm -f .version tests/package.m4 tests/testsuite
+# Print test results in case of a failure
+override_dh_auto_test:
+ dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)