#1041 set LD_LIBRARY_PATH to ensure the test suite uses the newly built library

v0.27.3
Robin Mills 10 years ago
parent 247bb1c670
commit 2327f16f70

@ -85,7 +85,12 @@ fi
# test the build # test the build
if [ -e $dist/$bin/exiv2$exe ]; then if [ -e $dist/$bin/exiv2$exe ]; then
pushd test > /dev/null pushd test > /dev/null
# EXIV2_BINDIR is used by the test suite to locate executables
export EXIV2_BINDIR=$dist/$bin export EXIV2_BINDIR=$dist/$bin
# set LD_LIBRARY_PATH (and DYLD_LIBRARY_PATH for macosx)
# to be sure we run the tests with the newly built library
export DYLD_LIBRARY_PATH=$dist/lib
export LD_LIBRARY_PATH=$dist/lib
for test in addmoddel.sh \ for test in addmoddel.sh \
bugfixes-test.sh \ bugfixes-test.sh \
exifdata-test.sh \ exifdata-test.sh \

Loading…
Cancel
Save