You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by br...@apache.org on 2011/01/20 13:38:19 UTC
svn commit: r1061269 - /avro/trunk/lang/c/tests/test_valgrind
Author: brucem
Date: Thu Jan 20 12:38:19 2011
New Revision: 1061269
URL: http://svn.apache.org/viewvc?rev=1061269&view=rev
Log:
AVRO-736. At least let valgrind run test_avro_data on Mac OS X.
Modified:
avro/trunk/lang/c/tests/test_valgrind
Modified: avro/trunk/lang/c/tests/test_valgrind
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/tests/test_valgrind?rev=1061269&r1=1061268&r2=1061269&view=diff
==============================================================================
--- avro/trunk/lang/c/tests/test_valgrind (original)
+++ avro/trunk/lang/c/tests/test_valgrind Thu Jan 20 12:38:19 2011
@@ -22,7 +22,7 @@ if ! which valgrind; then
exit 77
fi
-LD_LIBRARY_PATH="../src/.libs/" valgrind --leak-check=full --show-reachable=yes -q .libs/test_avro_data 2>&1 |\
+../libtool execute valgrind --leak-check=full --show-reachable=yes -q test_avro_data 2>&1 |\
grep -E '^==[0-9]+== '
if [ $? -eq 0 ]; then
# Expression found. Test failed.