diff options
author | Andreas Schneider <asn@samba.org> | 2018-10-30 13:00:51 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2018-11-06 15:00:41 +0100 |
commit | 9c0931bf0ba7d3a08fe6428fa891d36d6c2130c7 (patch) | |
tree | 2857180a0ae70b79e8dacfc513ced7f31508a2d2 /tests | |
parent | 38704a92f5ded6ac028f589632f4a305400a83ce (diff) | |
download | socket_wrapper-9c0931bf0ba7d3a08fe6428fa891d36d6c2130c7.tar.gz socket_wrapper-9c0931bf0ba7d3a08fe6428fa891d36d6c2130c7.tar.xz socket_wrapper-9c0931bf0ba7d3a08fe6428fa891d36d6c2130c7.zip |
tests: Disable failing tests as on FreeBSD
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b43d03c..2f76c6b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -102,6 +102,18 @@ foreach(_SWRAP_TEST ${SWRAP_TESTS}) add_cmocka_test_environment(${_SWRAP_TEST}) endforeach() +# These test will fail on because there is a threading race condition in +# FreeBSD. +# See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231848 +if (FREEBSD) + set_tests_properties(test_thread_echo_tcp_connect + PROPERTIES DISABLED TRUE) + set_tests_properties(test_thread_echo_tcp_write_read + PROPERTIES DISABLED TRUE) + set_tests_properties(test_thread_echo_tcp_sendmsg_recvmsg + PROPERTIES DISABLED TRUE) +endif() + if (HELGRIND_TESTING) find_program(VALGRIND_EXECUTABLE valgrind) if (VALGRIND_EXECUTABLE) |