Commit Graph

118 Commits

Author SHA1 Message Date
Peter Dimov
02ea086173 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 04:32:33 +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
Peter Dimov
7f98fa58eb Refactor test/Jamfile 2018-01-21 18:21:34 +02:00
Peter Dimov
5866fbb2b2 Do not test boost::throws() under -fsanitize=undefined 2018-01-21 17:38:01 +02:00
Peter Dimov
f89fe0ea77 Merge branch 'develop' into feature/constexpr 2018-01-18 15:03:07 +02:00
Peter Dimov
b494f307b5 Fix g++ 4.4 again 2018-01-18 00:01:17 +02:00
Peter Dimov
344df6c0a0 Add support for g++ 4.4 to test/Jamfile 2018-01-17 19:06:44 +02:00
Peter Dimov
7b6dcf6ac6 Make error_code, error_condition literal if C++14 constexpr is available 2018-01-14 07:24:00 +02:00
Peter Dimov
f8ef12bcc4 Add before_main_test. 2018-01-14 05:29:02 +02:00
Peter Dimov
c3da8661dc Add test that checks for duplicate category instances 2018-01-14 05:10:44 +02:00
Peter Dimov
f69e195aaf Do not link to the library for the header-only tests 2018-01-14 04:56:58 +02:00
Peter Dimov
a4955ec9c1 Test header-only w/ BOOST_NO_ANSI_APIS 2017-11-01 20:34:53 +02:00
Peter Dimov
829a1320a7 Replace BOOST_SYSTEM_NO_DEPRECATED with BOOST_SYSTEM_ENABLE_DEPRECATED 2017-10-21 19:19:57 +03:00
Beman
e039a454cf Hand add the fix from github.com/boostorg/system/pull/12. Note: This fix was verified by testing in release mode with clang 4.0 on Linux. It crashed before applying the P/R and passed afterwards. The pull request was applied by hand to add some new comments and do some other minor code rearrangements. Thanks to Visigoth for the P/R. 2017-09-07 16:36:48 -04:00
Beman
1bb5b95ebd Rewrite the boost::throws() reference documentation. Add tests of boost::throws() using the divide() function from the reference documentation. Having tests will allow us to change the implementation of throws() without fear of silently breaking it. 2017-09-07 15:00:26 -04:00
Peter Dimov
d0fe891bb3 Add 'quick' test target 2017-09-05 04:52:08 +03:00
Peter Dimov
a0fb1f2d41 Simplify 03/11 mismatch test because of MinGW; message() doesn't work 2017-07-24 12:29:32 +03:00
Peter Dimov
2f413abd8d Add more 03/11 mismatch tests 2017-07-24 05:15:49 +03:00
Peter Dimov
fe59bbdb3d Add 03/11 mismatch tests 2017-07-24 04:52:55 +03:00
Peter Dimov
2649b7e4a6 Merge branch 'develop' 2017-06-22 21:56:51 +03:00
Peter Dimov
d6c950f534 Add missing #include 2017-06-22 18:09:33 +03:00
Peter Dimov
473cf5ef91 Add import testing to test/Jamfile 2017-06-13 20:12:21 +03:00
Peter Dimov
ef2b755d77 Fix <winerror.h> include in error_code_test on cygwin/mingw 2017-06-13 19:34:28 +03:00
Peter Dimov
1ad099291d Add required #include 2017-06-13 19:22:48 +03:00
Beman
4736079b2e Fix boost::detail::winapi::ERROR_INSUFFICIENT_BUFFER_ in error_code.ipp (Thanks to Lastique). Use <boost/detail/winapi/error_codes.hpp> in windows_error.hpp. Add msvc project to build header-only version of error_code_test. 2017-06-04 11:01:08 -04:00
Beman
9087c92cc7 Add std_interop_test to msvc solution. Add cout message indicating whether or not inter-operation will be tested. 2017-06-03 08:22:04 -04:00
Beman
4626b887be #define _CRT_SECURE_NO_WARNINGS to avoid spurious VC++ warning 2017-05-28 16:34:24 -04:00
Peter Dimov
02262a4048 Test a user-defined error condition category; improve equivalent 2017-05-21 01:25:09 +03:00
Peter Dimov
bdd1613898 Do not map system::generic to std::generic directly 2017-05-20 19:33:03 +03:00
Peter Dimov
2d18f66800 Try to fix g++ 4.x issue with generic_category 2017-05-20 18:43:31 +03:00