laforge has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/92/15192/1

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: 1
Gerrit-Owner: laforge <lafo...@gnumonks.org>
Gerrit-MessageType: newchange

Reply via email to