[PATCH] libsmpp34[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:09:43 UTC 2017


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

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

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


  git pull ssh://gerrit.osmocom.org:29418/libsmpp34 refs/changes/16/4216/1

diff --git a/debian/rules b/debian/rules
index bedd9e0..4f472a7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,3 +17,7 @@
 override_dh_autoreconf:
 	echo $(VERSION) > .tarball-version
 	dh_autoreconf
+
+# 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/4216
To unsubscribe, visit https://gerrit.osmocom.org/settings

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



More information about the gerrit-log mailing list