Let the tests find libDatabase

This commit is contained in:
Pierre Pronchery 2016-04-19 23:52:15 +02:00
parent bbbb710996
commit 3c90a2ce3b

View File

@ -42,7 +42,7 @@ _run()
echo -n "$test:" 1>&2 echo -n "$test:" 1>&2
(echo (echo
echo "Testing: $test" "$@" echo "Testing: $test" "$@"
"$OBJDIR$test" "$@") 2>&1 LD_LIBRARY_PATH="$OBJDIR../src" "$OBJDIR$test" "$@") 2>&1
res=$? res=$?
if [ $res -ne 0 ]; then if [ $res -ne 0 ]; then
echo "Test: $test$sep$@: FAIL (error $res)" echo "Test: $test$sep$@: FAIL (error $res)"