don't output debug messages in testsuite if valgrind on
This commit is contained in:
parent
f756573401
commit
f3a0d311a0
@ -648,6 +648,7 @@ then
|
||||
AC_MSG_ERROR([Valgrind not found.])
|
||||
fi
|
||||
enable_shared=no
|
||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_VALGRIND"
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([USE_VALGRIND], [test "x$ENABLED_VALGRIND" = "xyes"])
|
||||
|
@ -66,7 +66,7 @@ int main(int argc, char** argv)
|
||||
args.argv = server_args.argv = argv;
|
||||
|
||||
CyaSSL_Init();
|
||||
#ifdef DEBUG_CYASSL
|
||||
#if defined(DEBUG_CYASSL) && !defined(HAVE_VALGRIND)
|
||||
CyaSSL_Debugging_ON();
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user