Harald Welte has submitted this change and it was merged.
Change subject: start-testsuite.sh: Pass a third parameter to ttcn3_start
......................................................................
start-testsuite.sh: Pass a third parameter to ttcn3_start
The name of the parameters is a little misleading, since the second
parameter could just be a testname.
Change-Id: Ibe207a83c477c918a865a8a34cad7ca5d45c7eac
---
M start-testsuite.sh
1 file changed, 5 insertions(+), 1 deletion(-)
Approvals:
Harald Welte: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/start-testsuite.sh b/start-testsuite.sh
index a291a4f..83c381e 100755
--- a/start-testsuite.sh
+++ b/start-testsuite.sh
@@ -15,4 +15,8 @@
CFG=$2
fi
-LD_LIBRARY_PATH=`dirname $SUITE`:/usr/lib/titan:/usr/ttcn3/lib ttcn3_start
$SUITE $CFG
+if [ $# -gt 2 ]; then
+ TEST=$3
+fi
+
+LD_LIBRARY_PATH=`dirname $SUITE`:/usr/lib/titan:/usr/ttcn3/lib ttcn3_start
$SUITE $CFG $TEST
--
To view, visit https://gerrit.osmocom.org/6293
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibe207a83c477c918a865a8a34cad7ca5d45c7eac
Gerrit-PatchSet: 2
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: daniel <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder