diff options
author | Oliver Smith <osmith@sysmocom.de> | 2021-11-26 14:09:07 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2021-11-26 18:12:50 +0100 |
commit | 305ce55b749cdf3f202639ee728ad20d9f18a89b (patch) | |
tree | 02e66c4516092b1799df7655be94994aabe65edc /ttcn3-remsim-test | |
parent | b7c430dd10500ba3c6094a91bf9401740b879386 (diff) |
ttcn3: write Osmocom repository to configs
Write a line like 'Misc_Helpers.mp_osmo_repo := "nightly"' into the
TTCN-3 config file (e.g. BSC_Tests.cfg), before starting the testsuite.
This allows executing different code paths in the tests based on the
repository.
Related: OS#5327
Change-Id: Ic06532f7a67e59458652c5cf4c8f6fee8113e703
Diffstat (limited to 'ttcn3-remsim-test')
-rwxr-xr-x | ttcn3-remsim-test/jenkins.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ttcn3-remsim-test/jenkins.sh b/ttcn3-remsim-test/jenkins.sh index ae013d6..2a6a9d8 100755 --- a/ttcn3-remsim-test/jenkins.sh +++ b/ttcn3-remsim-test/jenkins.sh @@ -75,6 +75,7 @@ mkdir $VOL_BASE_DIR/client # 1) server test suite start_server cp REMSIM_Tests.cfg $VOL_BASE_DIR/remsim-tester/ +write_mp_osmo_repo "$VOL_BASE_DIR/remsim-tester/REMSIM_Tests.cfg" start_testsuite docker container kill ${BUILD_TAG}-server @@ -82,6 +83,7 @@ docker container kill ${BUILD_TAG}-server echo "Changing to bankd configuration" start_bankd cp bankd/REMSIM_Tests.cfg $VOL_BASE_DIR/remsim-tester/ +write_mp_osmo_repo "$VOL_BASE_DIR/remsim-tester/REMSIM_Tests.cfg" start_testsuite docker container kill ${BUILD_TAG}-bankd @@ -89,4 +91,5 @@ docker container kill ${BUILD_TAG}-bankd echo "Changing to client configuration" start_client cp client/REMSIM_Tests.cfg $VOL_BASE_DIR/remsim-tester/ +write_mp_osmo_repo "$VOL_BASE_DIR/remsim-tester/REMSIM_Tests.cfg" start_testsuite |