summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-10 15:20:23 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-10 20:07:07 +0200
commit4cb8b94db8180e84a55c3ef88044507111077783 (patch)
tree6be2ee0fcd4734328984b67b40a4935baecd6c78 /debian/rules
parentb6390f9bd899370317ae2cd96271b21f07fdf637 (diff)
debian: Print test results in case of a failure
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 89abad91..1f48f580 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,6 +23,10 @@ override_dh_install:
sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
dh_install
+# Print test results in case of a failure
+override_dh_auto_test:
+ dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
+
override_dh_autoreconf:
echo $(VERSION) > .tarball-version
dh_autoreconf