aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2018-09-05 14:51:09 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-10-05 12:09:45 +0200
commitaeb859e130610d5a2d3090dd747bb6f76078dbf1 (patch)
tree1b49c6d45464eb6f22eece57e0e08d1e1805d1f0
parentb393f7e5e982abd82dd42054654b4f0a914b776f (diff)
downloadlibssh-aeb859e130610d5a2d3090dd747bb6f76078dbf1.tar.gz
libssh-aeb859e130610d5a2d3090dd747bb6f76078dbf1.tar.xz
libssh-aeb859e130610d5a2d3090dd747bb6f76078dbf1.zip
tests: Do not trace sshd
OpenSSH's sshd does not work well under valgrind so lets avoid tracing it. Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry-picked from commit ca4fb9c6)
-rw-r--r--tests/ctest-default.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ctest-default.cmake b/tests/ctest-default.cmake
index e7484f1d..7a8406f0 100644
--- a/tests/ctest-default.cmake
+++ b/tests/ctest-default.cmake
@@ -39,6 +39,7 @@ set(CTEST_SOURCE_DIRECTORY "${CTEST_DIRECTORY}/${CTEST_BUILD_NAME}/source")
set(CTEST_BINARY_DIRECTORY "${CTEST_DIRECTORY}/${CTEST_BUILD_NAME}/build")
set(CTEST_MEMORYCHECK_SUPPRESSIONS_FILE ${CMAKE_SOURCE_DIR}/tests/valgrind.supp)
+set(CTEST_MEMORYCHECK_COMMAND_OPTIONS " --trace-children-skip=sshd")
find_program(CTEST_GIT_COMMAND NAMES git)
find_program(CTEST_COVERAGE_COMMAND NAMES gcov)