[MERGED] osmo-ttcn3-hacks[master]: start-testsuite.sh: Pass a third parameter to ttcn3_start

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Feb 6 19:41:47 UTC 2018


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 <dwillmann at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder


More information about the gerrit-log mailing list