Change in osmo-gsm-tester[master]: report: Add trial name to junit 'testsuites' node

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

pespin gerrit-no-reply at lists.osmocom.org
Fri Jun 5 10:21:37 UTC 2020


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18690 )

Change subject: report: Add trial name to junit 'testsuites' node
......................................................................

report: Add trial name to junit 'testsuites' node

Change-Id: I8cd62484bb67756e3d98d43a75731f4702acd2b7
---
M src/osmo_gsm_tester/core/report.py
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved



diff --git a/src/osmo_gsm_tester/core/report.py b/src/osmo_gsm_tester/core/report.py
index f781695..121fbaf 100644
--- a/src/osmo_gsm_tester/core/report.py
+++ b/src/osmo_gsm_tester/core/report.py
@@ -70,6 +70,7 @@
     testsuites.set('errors', str(num_errors))
     testsuites.set('failures', str(num_failures))
     testsuites.set('time', str(math.ceil(time)))
+    testsuites.set('name', trial.name())
     return testsuites
 
 def suite_to_junit(suite):

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18690
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I8cd62484bb67756e3d98d43a75731f4702acd2b7
Gerrit-Change-Number: 18690
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
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/20200605/23ad845f/attachment.htm>


More information about the gerrit-log mailing list