Change in osmocom-bb[master]: contrib/jenkins.sh: also run unit tests for TRX Toolkit

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

laforge gerrit-no-reply at lists.osmocom.org
Tue Dec 31 17:03:13 UTC 2019


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/16567 )

Change subject: contrib/jenkins.sh: also run unit tests for TRX Toolkit
......................................................................

contrib/jenkins.sh: also run unit tests for TRX Toolkit

Python's unittest module will automatically discover all unit tests
in a given directory (files starting with 'test*.py'). The existing
tests will be rewritten in subsequent changes.

Change-Id: Ia3990dc8e1ff98b83d3ee25fafa5b029f46646cd
---
M contrib/jenkins.sh
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index ec81f03..07a02c1 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -71,4 +71,8 @@
 cd "$base/src"
 make firmware
 
+# TRX Toolkit unit tests
+cd "$base/src/target/trx_toolkit"
+python3 -m unittest discover -v
+
 osmo-clean-workspace.sh

-- 
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/16567
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ia3990dc8e1ff98b83d3ee25fafa5b029f46646cd
Gerrit-Change-Number: 16567
Gerrit-PatchSet: 5
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191231/e92df6d9/attachment.htm>


More information about the gerrit-log mailing list