diff --git a/ChangeLog b/ChangeLog index e5de295..d31dcea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2010-07-17 Caolán McNamara : * strip down csutil.* to the bits that are used + * use libtool dlopen invocation to ensure we test in-tree + libhyphen during tests 2010-03-04 Caolán McNamara : * hun#1724558 tidy substring.c a little diff --git a/tests/test.sh b/tests/test.sh index f516a22..89a688b 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -36,7 +36,7 @@ fi shopt -s expand_aliases -alias example='../example' +alias example='../libtool --mode=execute -dlopen ../.libs/libhyphen*.la ../example' if [ "$VALGRIND" != "" ]; then rm -f $TEMPDIR/test.pid* @@ -46,7 +46,7 @@ if [ "$VALGRIND" != "" ]; then if [ ! -f ../.libs/lt-example ]; then echo "Use make check before Valgrind tests" else - alias example='valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../.libs/lt-example' + alias example='../libtool --mode=execute -dlopen ../.libs/libhyphen*.la valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../example' fi fi