office-gobmx/hunspell/hunspell-valgrind.patch
2010-12-10 12:17:28 +00:00

13 lines
896 B
Diff

--- misc/hunspell-1.2.9/tests/test.sh
+++ misc/build/hunspell-1.2.9/tests/test.sh
@@ -41,8 +41,8 @@
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