Change in docker-playground[master]: ttcn3-bts-test/jenkins.sh: enable frequency hopping test cases

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

fixeria gerrit-no-reply at lists.osmocom.org
Tue Aug 11 07:01:15 UTC 2020


fixeria has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/19255 )

Change subject: ttcn3-bts-test/jenkins.sh: enable frequency hopping test cases
......................................................................

ttcn3-bts-test/jenkins.sh: enable frequency hopping test cases

Change-Id: I2b8ee5037146203801ab92a1b4fe6703522d8093
Related: SYS#4868, OS#4546
---
M ttcn3-bts-test/jenkins.sh
1 file changed, 14 insertions(+), 0 deletions(-)

Approvals:
  fixeria: Looks good to me, approved; Verified
  pespin: Looks good to me, but someone else must approve



diff --git a/ttcn3-bts-test/jenkins.sh b/ttcn3-bts-test/jenkins.sh
index c32682c..6f37e54 100755
--- a/ttcn3-bts-test/jenkins.sh
+++ b/ttcn3-bts-test/jenkins.sh
@@ -160,9 +160,23 @@
 cp oml/BTS_Tests.cfg $VOL_BASE_DIR/bts-tester/
 start_testsuite
 
+# 4) Frequency hopping tests require different configuration files
+cp fh/BTS_Tests.cfg $VOL_BASE_DIR/bts-tester/
+cp fh/osmo-bsc.cfg $VOL_BASE_DIR/bsc/
+cp osmo-bts.cfg $VOL_BASE_DIR/bts/
+# restart the BSC/BTS and run the testsuite again
+docker container kill ${BUILD_TAG}-bts
+start_bsc
+start_bts trx 0
+start_testsuite
+# rename the test results, so they appear as 'BTS_Tests:hopping' in Jenkins
+sed -i "s#classname='BTS_Tests'#classname='BTS_Tests:hopping'#g" \
+	$VOL_BASE_DIR/bts-tester/junit-xml-hopping-*.log
+
 echo Stopping containers
 docker container kill ${BUILD_TAG}-trxcon
 docker container kill ${BUILD_TAG}-fake_trx
+docker container kill ${BUILD_TAG}-bsc
 docker container kill ${BUILD_TAG}-bts
 
 

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I2b8ee5037146203801ab92a1b4fe6703522d8093
Gerrit-Change-Number: 19255
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
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/20200811/0fb4a978/attachment.htm>


More information about the gerrit-log mailing list