summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-10-25 16:52:48 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-10-31 01:05:42 +0000
commite18b34143c0332f027befa20cb28e098cc574ced (patch)
tree13fec1cf6763d9f7f5ad5337f5eac6c48c00a6da /debian/rules
parent577c268b96f555587b2c621d48d85a30a76cf7cf (diff)
debian/rules: show testsuite.log when tests are failing
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 05bbbef25..ef085960d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,3 +27,6 @@ override_dh_auto_configure:
echo $(VERSION) > openbsc/.tarball-version
dh_auto_configure --sourcedirectory=openbsc -- --enable-nat --enable-osmo-bsc --enable-smpp
+# Print test results in case of a failure
+override_dh_auto_test:
+ dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)