aboutsummaryrefslogtreecommitdiffstats
path: root/start-testsuite.sh
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2018-02-02 20:09:00 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2018-02-06 16:05:04 +0100
commit47fb0f4871bea2a20f9f0066f2e4ca0abb221389 (patch)
treea1919cc080ed97d52c2fb0bc9eb27f097e640aa2 /start-testsuite.sh
parent12984ef36d19b01f6ed278af8173819337ccc365 (diff)
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
Diffstat (limited to 'start-testsuite.sh')
-rwxr-xr-xstart-testsuite.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/start-testsuite.sh b/start-testsuite.sh
index a291a4f5..83c381e7 100755
--- a/start-testsuite.sh
+++ b/start-testsuite.sh
@@ -15,4 +15,8 @@ if [ $# -gt 1 ]; then
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