debian/rules: show testsuite.log when tests are failing

Change-Id: Ice1c9f51225cef335626d5689ffb306395d7e2b6
This commit is contained in:
Alexander Couzens 2017-10-11 07:11:34 +02:00
parent a3f4e79a9d
commit 5164038993
1 changed files with 4 additions and 0 deletions

4
debian/rules vendored
View File

@ -16,3 +16,7 @@ override_dh_autoreconf:
override_dh_strip: override_dh_strip:
dh_strip --dbg-package=libosmo-ranap-dbg dh_strip --dbg-package=libosmo-ranap-dbg
dh_strip --dbg-package=osmo-hnbgw dh_strip --dbg-package=osmo-hnbgw
# Print test results in case of a failure
override_dh_auto_test:
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)