[PATCH] osmo-pcu[master]: Debian: print test results in case of failure + clean-up aut...

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Oct 29 11:09:19 UTC 2017


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

Debian: print test results in case of failure + clean-up autotest

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


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/68/4568/1

diff --git a/debian/rules b/debian/rules
index 7623f74..cad7dfc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,3 +17,12 @@
 override_dh_autoreconf:
 	echo $(VERSION) > .tarball-version
 	dh_autoreconf
+
+override_dh_clean:
+	dh_clean
+	$(RM) tests/package.m4
+	$(RM) test/testsuite
+
+# 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/4568
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id912a106d42bbd9d2ad89b67d16d52cb2344eb6d
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list