Use LD_LIBRARY_PATH to find the library to test
This commit is contained in:
parent
725d9150f8
commit
41d0ace2fe
|
@ -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)"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user