From 92d788bdac9eef8fa9b39dc8a099b39f9af3b547 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Wed, 11 Oct 2017 07:13:15 +0200 Subject: debian/rules: show testsuite.log when tests are failing Change-Id: I4cc6589d4ce95538baf3f30079a3af53cc218268 --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index 4fe1f467d..dbe582b33 100755 --- a/debian/rules +++ b/debian/rules @@ -59,3 +59,7 @@ override_dh_strip: dh_strip --dbg-package=osmo-sgsn-dbg dh_strip --dbg-package=osmo-gtphub-dbg dh_strip --dbg-package=osmo-gbproxy-dbg + +# Print test results in case of a failure +override_dh_auto_test: + dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false) -- cgit v1.2.3