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
This commit is contained in:
Harald Welte 2019-07-16 19:29:49 +09:00 committed by laforge
parent 7e2769f3b1
commit 97ae972c4a
1 changed files with 9 additions and 1 deletions

View File

@ -36,8 +36,16 @@ if [ $# -gt 2 ]; then
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