aboutsummaryrefslogtreecommitdiffstats
path: root/ttcn3-ggsn-test
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-11-26 14:09:07 +0100
committerOliver Smith <osmith@sysmocom.de>2021-11-26 18:12:50 +0100
commit305ce55b749cdf3f202639ee728ad20d9f18a89b (patch)
tree02e66c4516092b1799df7655be94994aabe65edc /ttcn3-ggsn-test
parentb7c430dd10500ba3c6094a91bf9401740b879386 (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-ggsn-test')
-rwxr-xr-xttcn3-ggsn-test/jenkins.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ttcn3-ggsn-test/jenkins.sh b/ttcn3-ggsn-test/jenkins.sh
index ba5e76d..cdf9bf8 100755
--- a/ttcn3-ggsn-test/jenkins.sh
+++ b/ttcn3-ggsn-test/jenkins.sh
@@ -19,6 +19,7 @@ set -e
mkdir $VOL_BASE_DIR/ggsn-tester
cp GGSN_Tests.cfg $VOL_BASE_DIR/ggsn-tester/
+write_mp_osmo_repo "$VOL_BASE_DIR/ggsn-tester/GGSN_Tests.cfg"
mkdir $VOL_BASE_DIR/ggsn