mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
tests: Remove the -E which is overridden by followed -E on ctest CLI
The threads_pki_rsa was running and working under valgrind for some
time already without anyone noticing this syntax does not work.
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 950abbbd81)
This commit is contained in:
@@ -373,10 +373,10 @@ if (FUZZ_TESTING)
|
||||
endif()
|
||||
|
||||
add_custom_target(test_memcheck
|
||||
# FIXME: The threads_pki_rsa test is skipped under valgrind as it times out
|
||||
# FIXME: The pkd_hello_i1 test is skipped under valgrind as it times out
|
||||
# Passing suppression file is also stupid so lets go with override here:
|
||||
# https://stackoverflow.com/a/56116311
|
||||
COMMAND ${CMAKE_CTEST_COMMAND} -E torture_threads_pki_rsa -E pkd_hello_i1
|
||||
COMMAND ${CMAKE_CTEST_COMMAND} -E pkd_hello_i1
|
||||
--output-on-failure --force-new-ctest-process --test-action memcheck
|
||||
--overwrite MemoryCheckSuppressionFile=${CMAKE_SOURCE_DIR}/tests/valgrind.supp
|
||||
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}")
|
||||
|
||||
Reference in New Issue
Block a user