Attention is currently required from: fixeria.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/34754?usp=email )
Change subject: firmware/layer1: fix l1s_tch_resp(): use the right A_DD header
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/34754?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Idd48438e47ac3ef1172621e77688d094cdcdbf34
Gerrit-Change-Number: 34754
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 16 Oct 2023 08:57:47 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
osmith has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/34732?usp=email )
Change subject: common/ttcn3-docker-run.sh: add TEST_NAME env var
......................................................................
common/ttcn3-docker-run.sh: add TEST_NAME env var
Make it possible to run only one test by setting an environment
variable.
Change-Id: I1f45a05e089b429918096fcd64f7c02033d5a9dd
---
M README.md
M common/ttcn3-docker-run.sh
2 files changed, 37 insertions(+), 1 deletion(-)
Approvals:
pespin: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
diff --git a/README.md b/README.md
index 6f05417..436fdd0 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,16 @@
Osmocom project. Defaults to `master`.
* `NO_DOCKER_IMAGE_BUILD`: when set to `1`, it won't try to update the
containers (see "caching" below)
+* `DOCKER_ARGS`: pass extra arguments to docker, e.g. to mount local sources
+ for building as done in osmo-dev.git/ttcn3/ttcn3.sh
+
+### Run only one test
+
+```
+$ cd ttcn3-hlr-test
+$ export DOCKER_ARGS="-e TEST_NAME=TC_gsup_sai"
+$ ./jenkins.sh
+```
### Using nightly packages from a different date
diff --git a/common/ttcn3-docker-run.sh b/common/ttcn3-docker-run.sh
index 26e291c..c8c871e 100755
--- a/common/ttcn3-docker-run.sh
+++ b/common/ttcn3-docker-run.sh
@@ -33,7 +33,21 @@
cd /data
-/osmo-ttcn3-hacks/start-testsuite.sh "/osmo-ttcn3-hacks/$SUBDIR/$SUITE"
+# Use TEST_NAME to only run one test instead of all. Set it like this:
+# $ cd ttcn3-hlr-test
+# $ export DOCKER_ARGS="-e TEST_NAME=TC_gsup_sai"
+# $ ./jenkins.sh
+
+EXTRA_ARGS=""
+if [ -n "$TEST_NAME" ]; then
+ EXTRA_ARGS="$SUITE.$TEST_NAME"
+fi
+
+/osmo-ttcn3-hacks/start-testsuite.sh \
+ "/osmo-ttcn3-hacks/$SUBDIR/$SUITE" \
+ "$SUITE.cfg" \
+ $EXTRA_ARGS
+
exit_code=$?
/osmo-ttcn3-hacks/log_merge.sh "$SUITE" --rm
--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/34732?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I1f45a05e089b429918096fcd64f7c02033d5a9dd
Gerrit-Change-Number: 34732
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged