hunspell/hunspell-1.2.11-valgrind.patch
2010-06-22 10:28:53 +00:00

15 lines
956 B
Diff

--- hunspell-1.2.11/tests/test.sh 2010-06-22 11:12:00.000000000 +0100
+++ hunspell-1.2.11/tests/test.sh 2010-06-22 11:12:08.000000000 +0100
@@ -41,8 +41,9 @@
if [ ! -d $TEMPDIR/badlogs ]; then
mkdir $TEMPDIR/badlogs
fi
- alias hunspell='valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/.libs/lt-hunspell'
- alias analyze='valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/.libs/lt-analyze'
+
+ alias hunspell='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/hunspell'
+ alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/analyze'
fi
# Tests good words