use libtool dlopen invocation to ensure we test in-tree invocation during tests
This commit is contained in:
parent
6752c9adc3
commit
ca7de5b5eb
|
@ -1,5 +1,7 @@
|
|||
2010-07-17 Caolán McNamara <cmc at OOo>:
|
||||
* 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 <cmc at OOo>:
|
||||
* hun#1724558 tidy substring.c a little
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue