ttcn3.sh: set LD_LIBRARY_PATH=/usr/local/lib

Fix for Osmocom programs using system's shared libraries, instead of the
ones mounted into /usr/local.

For example, for osmo-bsc the libosmocore installed in the
osmo-bsc-master docker container would be used (installed via apt from
OBS nightly) instead of the version that osmo-dev built from source.

Change-Id: I0dd7fb544ca59cb1df19fc3d73cfd07f3374e123
This commit is contained in:
Oliver Smith 2021-08-12 11:15:40 +02:00
parent f3eb0ba445
commit bfe59294ad
1 changed files with 5 additions and 1 deletions

View File

@ -245,7 +245,11 @@ run_docker() {
fi
cd "$(get_testsuite_dir_docker)"
export DOCKER_ARGS="-v /usr/local:/usr/local:ro -v $hacks:/osmo-ttcn3-hacks:ro"
export DOCKER_ARGS="\
-e LD_LIBRARY_PATH=/usr/local/lib \
-v /usr/local:/usr/local:ro \
-v $hacks:/osmo-ttcn3-hacks:ro \
"
export NO_LIST_OSMO_PACKAGES=1
./jenkins.sh