3456 Commits

Author SHA1 Message Date
Matt Borland 87d1f4c335 Merge pull request #480 from boostorg/479
Ignore c2y-extensions warning with Clang >= 22
2026-02-26 13:45:41 -05:00
Matt Borland 2818ef37c5 Ignore c2y-extensions warning with Clang >= 22 2026-02-26 11:03:57 -05:00
Matt Borland 391fbada98 Merge pull request #474 from Lastique/feature/remove_static_assert
Remove dependencies on Boost.StaticAssert
2026-02-09 14:33:26 -05:00
Matt Borland 482a6a8dd8 Merge pull request #476 from boostorg/issue475
Add friend operators for comparisons of std::optional with GCC < 10
2026-01-29 18:59:03 -05:00
Matt Borland 3efd897089 Apply same workaround for clangs < 10 2026-01-29 14:51:29 -05:00
Matt Borland be5918db08 Remove unnecessary macros 2026-01-29 09:43:41 -05:00
Matt Borland 42db562009 Add base class to allow for friend functions with std::optional 2026-01-29 09:38:55 -05:00
Matt Borland b095c0c161 Add reproducer test set 2026-01-29 08:42:17 -05:00
Andrey Semashev fd4d83033f Remove dependencies on Boost.StaticAssert.
Boost.StaticAssert has been merged into Boost.Config, so remove
the dependency.
2026-01-22 19:58:16 +03:00
Matt Borland 96af57c33d Merge pull request #473 from borman/develop 2026-01-19 17:19:02 -05:00
Mikhail Borisov 4f14c8e86a Explicitly ignore getchar() result
Some toolchains (e.g. recent clang/libcxx) issue "unused result" warnings for getchar.
2026-01-19 15:51:00 +03:00
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