aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/osmo-gsm-tester_ttcn3.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/osmo-gsm-tester_ttcn3.sh')
-rw-r--r--jobs/osmo-gsm-tester_ttcn3.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/jobs/osmo-gsm-tester_ttcn3.sh b/jobs/osmo-gsm-tester_ttcn3.sh
new file mode 100644
index 0000000..f2b974f
--- /dev/null
+++ b/jobs/osmo-gsm-tester_ttcn3.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -e -x
+
+# On our hardware, we actually use the example configuration as-is.
+export OSMO_GSM_TESTER_CONF="$PWD/osmo-gsm-tester/ttcn3"
+
+# debug: provoke a failure
+#export OSMO_GSM_TESTER_OPTS="-s debug -t fail"
+
+unlink osmo-gsm-tester/ttcn3/resources.conf || true
+ln -s resources.conf.prod osmo-gsm-tester/ttcn3/resources.conf
+
+PATH="$PWD/osmo-gsm-tester/src:$PATH" \
+ ./osmo-gsm-tester/ttcn3/jenkins-run.sh