diff options
author | Mario Emmenlauer <memmenlauer@biodataanalysis.de> | 2020-04-24 08:51:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-24 07:51:37 +0100 |
commit | 802793638b3e06d8b9031ae4d0b765735165c598 (patch) | |
tree | d514ca6ed48f16fb99ab228950564848f3440cd0 /test/cpp | |
parent | ed0bad34301741c6ea7473e891d1c6886e8db9e1 (diff) | |
download | thrift-802793638b3e06d8b9031ae4d0b765735165c598.tar.gz |
THRIFT-4282: Disabled StressTestNonBlocking on Windows
Diffstat (limited to 'test/cpp')
-rwxr-xr-x | test/cpp/CMakeLists.txt | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/test/cpp/CMakeLists.txt b/test/cpp/CMakeLists.txt index a136a4887..367b6decc 100755 --- a/test/cpp/CMakeLists.txt +++ b/test/cpp/CMakeLists.txt @@ -75,12 +75,16 @@ LINK_AGAINST_THRIFT_LIBRARY(StressTest thriftnb) add_test(NAME StressTest COMMAND StressTest) add_test(NAME StressTestConcurrent COMMAND StressTest --client-type=concurrent) -add_executable(StressTestNonBlocking src/StressTestNonBlocking.cpp) -target_link_libraries(StressTestNonBlocking crossstressgencpp ${Boost_LIBRARIES} ${LIBEVENT_LIB}) -LINK_AGAINST_THRIFT_LIBRARY(StressTestNonBlocking thrift) -LINK_AGAINST_THRIFT_LIBRARY(StressTestNonBlocking thriftnb) -LINK_AGAINST_THRIFT_LIBRARY(StressTestNonBlocking thriftz) -add_test(NAME StressTestNonBlocking COMMAND StressTestNonBlocking) +# As of https://jira.apache.org/jira/browse/THRIFT-4282, StressTestNonBlocking +# is broken on Windows. Contributions welcome. +if (NOT WIN32 AND NOT CYGWIN) + add_executable(StressTestNonBlocking src/StressTestNonBlocking.cpp) + target_link_libraries(StressTestNonBlocking crossstressgencpp ${Boost_LIBRARIES} ${LIBEVENT_LIB}) + LINK_AGAINST_THRIFT_LIBRARY(StressTestNonBlocking thrift) + LINK_AGAINST_THRIFT_LIBRARY(StressTestNonBlocking thriftnb) + LINK_AGAINST_THRIFT_LIBRARY(StressTestNonBlocking thriftz) + add_test(NAME StressTestNonBlocking COMMAND StressTestNonBlocking) +endif() # # Common thrift code generation rules |