Commit Graph

146 Commits

Author SHA1 Message Date
Peter Dimov
e08e4253d0 Avoid allocation on interop for system/generic categories; fix DLL interoperability on msvc-14.x by poking into std::system_category::_Addr 2019-04-25 00:31:25 +03:00
Peter Dimov
907c867cd1 Rename test/std_ec_mismatch to std_single_instance; test also static and shared libraries 2019-04-24 21:15:39 +03:00
Peter Dimov
9f225112f1 Add std_ec_mismatch_test 2019-04-24 18:19:21 +03:00
Peter Dimov
90b2356015 system_error_test: Increase tested messages range (Nikita Kniazev) 2019-03-24 00:24:05 +02:00
Nikita Kniazev
7947d0ed0d system_error_test: Reenable locale query on MinGW and Cygwin 2019-03-17 01:53:37 +03:00
Peter Dimov
72d3e96c73 Disable English-dependent test; fixes #39. 2019-03-16 19:51:21 +02:00
Peter Dimov
ca882f286c Skip system_category_test_utf8; comparing against FormatMessageA isn't going to work. Fixes #38. 2019-03-16 19:44:43 +02:00
Nikita Kniazev
f878f41fe7
system_category_test: Increase buffer size
The message for 5810 error does not fit into buffer on non-English locales.
2019-03-16 01:55:18 +03:00
Peter Dimov
0134441a6e Add warnings_test.cpp; disable -Wnon-virtual-dtor on g++ < 4.6 2019-03-04 19:23:32 +02:00
Peter Dimov
2d37749d00 Enable -Wnon-virtual-dtor in warnings_test 2019-03-04 15:40:03 +02:00
Peter Dimov
3164b387a5 Revert operator bool() to its pre-failed value() != 0 meaning 2019-02-27 21:10:57 +02:00
Peter Dimov
9753cf7668 Update test/Jamfile 2019-02-27 06:23:16 +02:00
Peter Dimov
f726c068c3 Add UTF-8 tests 2019-02-26 16:42:47 +02:00
Peter Dimov
2c01c5d5c8 Add test/cmake_subdir_test 2019-01-05 19:55:38 +02:00
Peter Dimov
342400c7ec Add a quick test with -Wall -Werror 2018-10-02 04:34:33 +03:00
Peter Dimov
f821d5e74a Add failed_constexpr_test.cpp 2018-09-22 21:06:31 +03:00
Peter Dimov
be972baaa3 Add a constructor to http_category_impl to placate clang++-3.8 and below 2018-09-22 19:33:04 +03:00
Peter Dimov
f48cc5aec6 Add failed() 2018-09-22 17:34:40 +03:00
Peter Dimov
08dc402e77 Simplify after_main_test 2018-09-22 15:40:19 +03:00
Peter Dimov
a627662e63 Add after_main_test 2018-09-22 15:17:47 +03:00
Peter Dimov
7b401cef93 Improve Windows implementation of message() 2018-09-21 06:45:56 +03:00
Peter Dimov
e180bfe37e Add system_category_test; fix Windows implementation 2018-09-21 04:51:50 +03:00
Peter Dimov
ec93d058fe Add a noexcept overload of message() taking a buffer 2018-09-21 03:16:55 +03:00
Peter Dimov
7d38263d71 Add an empty main() in win32_hresult_test when not on Windows 2018-09-17 20:25:13 +03:00
Peter Dimov
11a908a3fe Fix hash_value 2018-09-17 18:18:37 +03:00
Peter Dimov
11b07164c1 Add win32_hresult_test 2018-09-17 17:29:50 +03:00
Peter Dimov
41de9d916a Fix throw_test.cpp to not meddle with BOOST_SYSTEM_SOURCE as it needs to import from Boost.System while exporting throw_test() 2018-09-16 06:27:52 +03:00
Peter Dimov
7a06df877d Revert changes to throw_test.cpp and dynamic_link_test.cpp 2018-09-16 06:27:30 +03:00
Peter Dimov
2fa0a00583 Make Boost.System header-only 2018-09-16 03:04:19 +03:00
Peter Dimov
0d2aeead38 Update workarounds to cover g++ 8.1 2018-06-29 02:29:23 +03:00
Peter Dimov
d1f3d3b349 Merge branch 'develop' into feature/constexpr 2018-01-29 14:57:30 +02:00
Peter Dimov
6ea02e2668 Reenable test_throws_usage() under UBSAN 2018-01-29 02:36:50 +02:00
Peter Dimov
aec8d9056d Test that assigning to boost::throws() crashes 2018-01-28 17:29:13 +02:00
Peter Dimov
7b94454e7c Merge branch 'develop' into feature/constexpr 2018-01-22 21:13:37 +02:00
Peter Dimov
0b48bb8166 Use explicit operator bool when available 2018-01-22 21:13:02 +02:00
Peter Dimov
a413220f8d Add more constexpr tests 2018-01-22 19:43:28 +02:00
Peter Dimov
9f5cbe223c Merge branch 'develop' into feature/constexpr 2018-01-22 08:07:54 +02:00
Peter Dimov
8cc57370ca Revert "Disable std_mismatch_test when UBSAN is defined"
This reverts commit 22189fce95.
2018-01-22 07:54:22 +02:00
Peter Dimov
42f2dbc32e Disable 03/11 tests when UBSAN is defined 2018-01-22 07:54:00 +02:00
Peter Dimov
a14074bafc Merge branch 'develop' into feature/constexpr 2018-01-22 07:19:19 +02:00
Peter Dimov
22189fce95 Disable std_mismatch_test when UBSAN is defined 2018-01-22 05:40:41 +02:00
Peter Dimov
0b18289a85 Avoid unused expression warning by using the expression 2018-01-22 05:21:08 +02:00
Peter Dimov
8416ba067f Merge branch 'develop' into feature/constexpr 2018-01-22 03:20:23 +02:00
Peter Dimov
3b988e278b Use BOOST_SYMBOL_EXPORT instead of __declspec 2018-01-22 03:19:35 +02:00
Peter Dimov
77817d8847 Fix MinGW link errors by properly exporting symbols 2018-01-22 02:20:01 +02:00
Peter Dimov
fe28fa163c Merge branch 'develop' into feature/constexpr 2018-01-21 22:32:19 +02:00
Peter Dimov
3ee2c53cbf Add equality tests using two libraries returning equivalent error codes, to check that the categories have sigle instances 2018-01-21 22:29:58 +02:00
Peter Dimov
3ba40116fe Merge branch 'develop' into feature/constexpr 2018-01-21 20:44:29 +02:00
Peter Dimov
ecb77edb81 Fix typo in test/Jamfile 2018-01-21 20:42:08 +02:00
Peter Dimov
d837670627 Merge branch 'develop' into feature/constexpr 2018-01-21 19:55:18 +02:00