[MERGED] openbsc[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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Tue Oct 31 01:05:42 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

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


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

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

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/debian/rules b/debian/rules
index 05bbbef..ef08596 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,3 +27,6 @@
 	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)

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I30151897d621a1428095006e1f0e8a47059de4cd
Gerrit-PatchSet: 4
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list