diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-06-04 22:11:04 +0700 |
---|---|---|
committer | fixeria <axilirator@gmail.com> | 2019-06-04 19:45:09 +0000 |
commit | b399281d05f29f6763e29a3fa26f3b10902f36c0 (patch) | |
tree | d8d061a4ef56ac0158225a5f58167314bfee2a1d /start-testsuite.sh | |
parent | dc8db92c86051af14c3f88f8b22e442e68f90135 (diff) |
start-testsuite.sh: do not override LD_LIBRARY_PATH
The Eclipse titan.core may not only be installed to hard-coded
'/usr/lib/titan' patch, but to any other location too. In the
later case, one would have to make sure that the custom path
is in $LD_LIBRARY_PATH. So we shall not override it.
Change-Id: I1ec28e8c3081d5de1bea90a7451791ac8cbbd27c
Diffstat (limited to 'start-testsuite.sh')
-rwxr-xr-x | start-testsuite.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/start-testsuite.sh b/start-testsuite.sh index 5740d3d8..31bc891c 100755 --- a/start-testsuite.sh +++ b/start-testsuite.sh @@ -21,7 +21,8 @@ if [ $# -gt 2 ]; then TEST=$3 fi -LD_LIBRARY_PATH="$SUITE_DIR:/usr/lib/titan:/usr/ttcn3/lib" ttcn3_start $SUITE $CFG $TEST +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 expected="$SUITE_DIR/expected-results.xml" if [ ! -f "$expected" ]; then |