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

Change-Id: I588ed7c7766a2e71284c9c7a3f3ce5a48561fe7f
This commit is contained in:
Alexander Couzens 2017-10-11 07:12:46 +02:00 committed by Harald Welte
parent 0906a39425
commit ba692aecbd
1 changed files with 4 additions and 0 deletions

4
debian/rules vendored
View File

@ -57,3 +57,7 @@ override_dh_auto_configure:
# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
override_dh_strip:
dh_strip --dbg-package=osmo-msc-dbg
# Print test results in case of a failure
override_dh_auto_test:
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)