2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-19 04:42:13 +00:00

3445 Commits

Author SHA1 Message Date
Matt Borland
33e94d4efe Merge pull request #466 from boostorg/pr/clang-win-werror
Disable more Clang warnings. Fixes #465.
2025-10-29 08:50:11 +01:00
Peter Dimov
6cfef95605 Disable more Clang warnings. Fixes #465. 2025-10-28 17:34:58 +02:00
Matt Borland
1c2ab975f0 Merge pull request #464 from boostorg/update_ci
Update Windows and macOS runners in CI
2025-10-27 17:10:44 +01:00
Matt Borland
f2eac1c855 Update macos toolchains 2025-10-27 10:11:49 +01:00
Matt Borland
8086007f41 Update and remove old windows toolchains 2025-10-27 10:11:21 +01:00
Alexander Grund
98f4db5060 Fix required CMake version (#461) 2025-10-02 08:37:44 +02:00
Alexander Grund
a401792a2d Update Link to regression test matrix in README (#455) 2025-08-25 18:28:18 +02:00
Hennadii Stepanov
097e97820e cmake: Add BOOST_TEST_HEADERS_ONLY configuration variable (#445)
This change allows the build to be configured to install only the
Boost.Test headers required for using the headers-only variant of the
Unit Test Framework.

The `README.md` file at https://github.com/boostorg/cmake should also be
updated to mention this new Boost.Test-specific configuration variable.

Co-authored-by: Cory Fields <cory-nospam-@coryfields.com>
2025-04-17 08:46:46 -04:00
Matt Borland
a4159f3227 Move ubuntu 20.04 runs into containers (#446)
* Move ubuntu 20.04 runs into containers

* Fix syntax error
2025-04-16 19:12:18 -04:00
René Ferdinand Rivera Morell
a5e435df96 Add support for modular build structure. (#426)
* Make the library modular usable.

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Remove uses of BOOST_ROOT in Jamfiles.

* Add missing NO_LIB usage requirements.

* Add missing import-search for cconfig/predef checks.

* Add requires-b2 check to top-level build file.

* Bump B2 require to 5.2

* Change all <source> references to <library>.

* Update copyright dates.

* Move inter-lib dependencies to a project variable and into the build targets.

* Add included target to mirror build//* targets.

* Add missing import-search.

* Change Boost Test build refs to work with both old and modular test lib targets.

* Update build deps.

* Update UBSAN CI run

---------

Co-authored-by: Matt Borland <matt@mattborland.com>
2025-04-07 10:21:41 -04:00
Tim Blechmann
e4e7f74061 cmake: fix build warnings on windows (#444) 2025-04-07 10:21:13 -04:00
Matt Borland
89fe464675 Merge pull request #441 from Flamefire/incDecTests
Add test for the size_t class
2025-02-03 14:12:36 -05:00
Matt Borland
2c3d6de5e2 Merge pull request #439 from ibis-hdl/develop
Include <cstddef> in <boost/test/data/size.hpp>
2025-02-03 13:56:55 -05:00
Alexander Grund
0327cb4659 Add test for the size_t class
Verify the constructor and increment/decrement operators
2025-02-03 17:08:06 +01:00
ibis-hdl
27b4cdd397 Include <cstddef> in <boost/test/data/size.hpp>
If datasets are used, <boost/test/data/size.hpp> is also included, as can be seen in the [example](
    https://www.boost.org/doc/libs/1_87_0/libs/test/doc/html/boost_test/tests_organization/test_cases/test_case_generation/datasets.html#boost_test.tests_organization.test_cases.test_case_generation.datasets.dataset_interface.example_descr).
MSVC and Gcc indirectly have the definition of `std::size_t`, while Clang/LibC++
do not have this and a compiler error occurs. This fix will correct this.
2025-02-02 16:02:58 +01:00
Matt Borland
1018532751 Merge pull request #438 from barracuda156/__STDC_FORMAT_MACROS 2025-01-27 09:27:54 -05:00
Sergey Fedorov
d19ff0b661 execution_monitor.ipp: follow-up fix for macOS
This fixes https://github.com/boostorg/test/issues/436
2025-01-27 04:23:08 +08:00
Matt Borland
78bb8659f9 Merge pull request #437 from boostorg/436
Add additional paths to guarantee BOOST_TEST_PRIxPTR is defined
2025-01-22 13:54:05 -05:00
Matt Borland
cc04b75a1b Add additional paths to guarantee BOOST_TEST_PRIxPTR is defined 2025-01-22 11:41:14 -05:00
Matt Borland
0cef47af6f Merge pull request #432 from notdanhan/develop
Rename method arguments to avoid collision with linux UAPI macro
2025-01-22 11:23:07 -05:00
Matt Borland
fcd634a534 Merge pull request #435 from Flamefire/patch-1
Fix node 20 issue on GHA CI
2024-12-09 08:59:56 -05:00
Alexander Grund
9428a50ca3 Update containers 2024-12-08 14:51:42 +01:00
Alexander Grund
3dcea0918a Use hosted node 2024-12-08 13:11:21 +01:00
Alexander Grund
837402a4f3 Fix node 20 issue on GHA CI 2024-12-07 19:42:58 +01:00
Daniel Hannon
404c3de037 Rename method arguments to avoid collision with linux UAPI macro 2024-10-15 14:12:32 +00:00
Matt Borland
aeeb091c62 Merge pull request #431 from kantan2015/fix_arg_type_mismatch
Fix for the issue #430, arg_type_mismatch exception with dynamic link
2024-10-04 13:50:39 -04:00
Matt Borland
eb0c07b9f0 Merge pull request #348 from jspam/20220708-no-dummy-cond
Remove ::boost::test_tools::tt_detail::dummy_cond
2024-10-04 13:48:17 -04:00
Matt Borland
6ed128fb1f Merge branch 'develop' into 20220708-no-dummy-cond 2024-10-04 12:01:54 -04:00
Wataru Matsumoto
acbccbecd2 Add BOOST_SYMBOL_VISIBLE to enum 2024-09-25 07:11:23 +08:00
Matt Borland
b0127f48d2 Merge pull request #421 from boostorg/unused_var
Fix unused variable warning
2024-07-08 14:32:39 -04:00
Matt Borland
86b5f97c17 Update macos versions 2024-07-08 11:12:02 -04:00
Matt Borland
a4b479114b Fix use of node20 2024-07-08 10:48:23 -04:00
Matt Borland
dce17f6b61 Fix unused variable warnings 2024-07-08 10:47:44 -04:00
Keerthi Timmaraju
fd5e60f995 gcc 4.6: return value even when return is unreachable 2024-05-31 10:47:10 +02:00
Keerthi Timmaraju
b6633534f8 fix unreachable return compilation error
On Visual Studio 16.9, the return was marked as unreachable because of
the throw before
2024-05-31 10:46:57 +02:00
Matt Borland
ee2ec56b09 Merge pull request #415 from boostorg/Wundef
Fix -Wundef in configuration
2024-04-29 09:09:41 +02:00
Matt Borland
0d025f5015 Fix -Wundef in configuration 2024-04-26 08:55:36 +02:00
Matt Borland
985668a700 Merge pull request #413 from grafikrobot/patch-1
Don't use obsolete predef/checks/predef.jam B2 module.
2024-04-22 08:43:06 +02:00
Matt Borland
93a2349d2f Merge pull request #414 from grafikrobot/patch-2
Don't use obsolete predef/checks/predef.jam B2 module.
2024-04-22 08:42:46 +02:00
René Ferdinand Rivera Morell
8a5d1f7da4 Don't use obsolete predef/checks/predef.jam B2 module. 2024-04-19 09:16:20 -05:00
René Ferdinand Rivera Morell
e6ecdca308 Don't use obsolete predef/checks/predef.jam B2 module. 2024-04-19 09:14:50 -05:00
Matt Borland
100a13c865 Merge pull request #411 from boostorg/function
Fix boost::function streaming error
2024-02-29 10:15:42 +01:00
Raffi Enficiaud
2af843cdf1 Remove warning 2024-02-29 08:25:43 +01:00
Matt Borland
98b4e15b1e Fix boost::function streaming error 2024-02-29 08:18:03 +01:00
Matt Borland
2134870a35 Update library metadata 2024-02-15 08:26:50 +01:00
Jan Bouwer
e0d9c9f648 Fix overflow warning in print_helper.hpp. #398 (#399)
- (Implicitly) printing a big enough type results in:
  "warning: overflow in expression; result is 2147483347 with type 'int' [-Winteger-overflow]".
- Fixed by promoting the calculation to 'std::streamsize'.

Co-authored-by: Matt Borland <matt@mattborland.com>
2024-01-09 09:59:25 +01:00
Matt Borland
8b078beabd Merge pull request #407 from boostorg/msvc_4702 2023-12-19 14:17:02 +01:00
Matt Borland
014310fef1 Surpresses MSVC C4702 from __builtin_unreachable() 2023-12-19 11:01:42 +01:00
Raffi Enficiaud
e41c4e1057 Merge pull request #406 from boostorg/pr/lib-specific-no-lib
Respect library-specific _NO_LIB macros. Fixes #339.
2023-12-17 14:23:50 +01:00
Peter Dimov
6ab9445de7 Respect library-specific _NO_LIB macros. Fixes #339. 2023-12-16 17:22:16 +02:00