From ca882f286c066b11d9282db46f929403db40de4d Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 16 Mar 2019 19:44:43 +0200 Subject: [PATCH] Skip system_category_test_utf8; comparing against FormatMessageA isn't going to work. Fixes #38. --- test/system_category_test.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/system_category_test.cpp b/test/system_category_test.cpp index 987eb51..19c9f57 100644 --- a/test/system_category_test.cpp +++ b/test/system_category_test.cpp @@ -18,6 +18,16 @@ // +#if defined(BOOST_WINDOWS_API) && defined(BOOST_SYSTEM_USE_UTF8) + +#include + +BOOST_PRAGMA_MESSAGE( "Skipping test due to BOOST_WINDOWS_API && BOOST_SYSTEM_USE_UTF8" ) + +int main() {} + +#else + #if defined(BOOST_WINDOWS_API) #include @@ -114,3 +124,5 @@ int main() return boost::report_errors(); } + +#endif // #if defined(BOOST_WINDOWS_API) && defined(BOOST_SYSTEM_USE_UTF8)