diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-10 12:17:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-10 12:17:28 +0000 |
commit | 60889716192d13bdc37b2375c3c20969de8a9cd8 (patch) | |
tree | 94c797a9c77d971ccf493691bbe73f0fbd0a6f79 /hunspell | |
parent | 2d81ec5e4eafdf4cbb11928559278b0e506d3d3d (diff) |
backport the run valgrind correctly fix
Diffstat (limited to 'hunspell')
-rw-r--r-- | hunspell/hunspell-valgrind.patch | 13 | ||||
-rw-r--r-- | hunspell/makefile.mk | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/hunspell/hunspell-valgrind.patch b/hunspell/hunspell-valgrind.patch new file mode 100644 index 000000000000..5ae1a86bdf14 --- /dev/null +++ b/hunspell/hunspell-valgrind.patch @@ -0,0 +1,13 @@ +--- 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 diff --git a/hunspell/makefile.mk b/hunspell/makefile.mk index a455cce62388..ded4bb691abb 100644 --- a/hunspell/makefile.mk +++ b/hunspell/makefile.mk @@ -43,7 +43,8 @@ ADDITIONAL_FILES+=config.h PATCH_FILES=\ hunspell-wntconfig.patch \ hunspell-solaris.patch \ - hunspell-stacksmash.patch + hunspell-stacksmash.patch \ + hunspell-valgrind.patch .IF "$(GUI)"=="UNX" |