Change in ...osmo-ttcn3-hacks[master]: start-testsuite.sh: Add commented-out section for using custom TITAN

laforge gerrit-no-reply at lists.osmocom.org
Thu Aug 15 09:49:11 UTC 2019


laforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15192 )

Change subject: start-testsuite.sh: Add commented-out section for using custom TITAN
......................................................................

start-testsuite.sh: Add commented-out section for using custom TITAN

Sometimes it's useful to test with a non-installed locally-compiled
version of Eclipse TITAN.  This adds an example on how to do that.

Change-Id: I6a8c26becff868a3d2fcd3a01e2c03adfc748e0a
---
M start-testsuite.sh
1 file changed, 9 insertions(+), 1 deletion(-)

Approvals:
  pespin: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/start-testsuite.sh b/start-testsuite.sh
index 54332bb..e5bc756 100755
--- a/start-testsuite.sh
+++ b/start-testsuite.sh
@@ -36,8 +36,16 @@
 	TEST=$3
 fi
 
+# this is an example for using a non-installed custom (e.g. git master) TITAN
+#TTCN3_DIR="/home/laforge/projects/git/titan/titan.core/Install"
+#export TTCN3_DIR
+#TITAN_LIBRARY_PATH="$TTCN3_DIR/lib"
+#TTCN3_BIN_DIR="$TTCN3_DIR/bin"
+
+# below is for the debian packages
+TTCN3_BIN_DIR="/usr/bin"
 TITAN_LIBRARY_PATH="/usr/lib/titan:/usr/ttcn3/lib"
-LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SUITE_DIR:$TITAN_LIBRARY_PATH" ttcn3_start $SUITE $CFG $TEST
+LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SUITE_DIR:$TITAN_LIBRARY_PATH" "$TTCN3_BIN_DIR/ttcn3_start" $SUITE $CFG $TEST
 
 expected="$SUITE_DIR/expected-results.xml"
 if [ ! -f "$expected" ]; then

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15192
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I6a8c26becff868a3d2fcd3a01e2c03adfc748e0a
Gerrit-Change-Number: 15192
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190815/01d380f6/attachment.html>


More information about the gerrit-log mailing list