[PATCH] osmo-bsc[master]: debian/rules: show testsuite.log when tests are failing

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Wed Oct 11 05:10:20 UTC 2017


Review at  https://gerrit.osmocom.org/4217

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

Change-Id: I373b26c9d5eb32b1155e6405c6305ac870061887
---
M debian/rules
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/17/4217/1

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

-- 
To view, visit https://gerrit.osmocom.org/4217
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I373b26c9d5eb32b1155e6405c6305ac870061887
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>



More information about the gerrit-log mailing list