diff --git a/test/std_mismatch_test.cpp b/test/std_mismatch_test.cpp index 37a606b..af24196 100644 --- a/test/std_mismatch_test.cpp +++ b/test/std_mismatch_test.cpp @@ -12,10 +12,13 @@ # define _CRT_SECURE_NO_WARNINGS #include +#include #include #if defined(BOOST_NO_CXX11_HDR_SYSTEM_ERROR) +BOOST_PRAGMA_MESSAGE("Skipping test, BOOST_NO_CXX11_HDR_SYSTEM_ERROR is defined") + int main() { std::cout @@ -23,6 +26,11 @@ int main() " support header so interoperation will not be tested.\n"; } +#elif defined(UBSAN) + +BOOST_PRAGMA_MESSAGE("Skipping test, UBSAN is defined") +int main() {} + #else #include