3 export TOP_SRCDIR="@top_srcdir@"
5 TESTRUNNER="./testrunner"
6 if test "$USE_VALGRIND" != "false" ; then
7 VALGRIND="$(which valgrind 2> /dev/null)"
10 echo "valgrind not found, valgrind disabled"
13 echo "valgrind enabled"
14 export GTEST_DEATH_TEST_USE_FORK=1
15 if test -z "$VALGRIND_SUPPRESSIONS" ; then
16 export VALGRIND_SUPPRESSIONS="${TOP_SRCDIR}/tst/valgrind-suppressions.conf"
21 echo "valgrind disabled"
23 if test -z "$GTEST_DEATH_TEST_STYLE" ; then
24 export GTEST_DEATH_TEST_STYLE="threadsafe"