124 Commits

Author SHA1 Message Date
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
Wataru Matsumoto acbccbecd2 Add BOOST_SYMBOL_VISIBLE to enum 2024-09-25 07:11:23 +08:00
Matt Borland 0fa70b6a8f Disable sporadically failing tests 2023-06-05 08:25:26 +02:00
Matt Borland 7b3a567012 Disable several examples 2023-06-02 09:02:06 +02:00
Matt Borland 961d949f44 Add GitHub actions (#370)
Co-authored-by: Alexander Grund <alexander.grund@tu-dresden.de>
Co-authored-by: Alexander Grund <Flamefire@users.noreply.github.com>
2023-01-31 08:00:51 -08:00
Raffi Enficiaud 0285840f07 Fixing deprecated inclusions to boost/bind 2020-05-09 14:44:34 +02:00
Raffi Enficiaud 011fb72954 Adjusting the UBSan options 2019-03-01 07:19:17 +01:00
James E. King III 10dfecf9e5 Added CI framework
- travis with valgrind, cppcheck, ubsan, codecov, covscan (future)
- appveyor with MSVC 2010 through 2017, cygwin 32/64, mingw 32/64
- README, LICENSE, etc.
- Fixed example Jamfile to build examples based on C++ features

This fixes #146
2019-03-01 07:19:17 +01:00
Raffi Enficiaud a09fa65d28 Typo 2019-02-15 13:44:21 +01:00
Raffi Enficiaud a84a5564f5 Default visibility for enums and rtti objects facility
Making the RTTI objects globally visible.
Some old versions of clang are apparently not honoring
the enum visibility.
2019-02-08 00:00:01 +01:00
Raffi Enficiaud 6665772bfd Adding requires to bjam/examples 2019-02-02 13:38:27 +01:00
Raffi Enficiaud f7ff5de314 Disabling FPE tests under UBSAN 2019-02-02 11:19:58 +01:00
Raffi Enficiaud 73f710ec71 Prevent sanitizer on specific function 2019-02-02 00:38:49 +01:00
Raffi Enficiaud 45ee7769f5 Making the examples as part of the tests being run 2019-02-02 00:37:59 +01:00
Raffi Enficiaud 980ec7bbc7 Fix example run on VS2017 2018-11-12 22:18:58 +01:00
Raffi Enficiaud 7c7aef9125 Merge branch 'topic/PR-184-fix-example' into next-internal
* topic/PR-184-fix-example:
  Change log
  fix example to use the correct variable and avoid unused variable warning
2018-11-12 07:07:08 +01:00
Raffi Enficiaud cf1e871c00 Merge branch 'topic/PR-183-remove-superfluous-semicolon' into next-internal
* topic/PR-183-remove-superfluous-semicolon:
  Change log
  remove superfluous semicolon in example 04
2018-11-12 07:04:23 +01:00
James E. King III 271d8ed276 fix example to use the correct variable and avoid unused variable warning 2018-11-11 17:46:47 -05:00
James E. King III 1da6fdc86c remove superfluous semicolon in example 04 2018-11-11 17:43:33 -05:00
James E. King III a9c4d9bd88 fix use of bind1st in example 12 2018-11-11 17:41:48 -05:00
Raffi Enficiaud e1b211f254 Documentation update for the new macros
- BOOST_TEST_GLOBAL_FIXTURE explained
- BOOST_TEST_GLOBAL_INITIALIZATION explained
- changed the examples, deprecating BOOST_GLOBAL_FIXTURE
- in the logger part, introduced the fact that BOOST_TEST_GLOBAL_INITIALIZATION should be used and no assertion is supported in this case
2017-06-23 14:54:56 +02:00
Gennadiy Rozental d63379a9b3 New CLA
- vector types is not required
- test for param_trie construction
- Cleanups and files moves
- adding unit test for CLA argv_traverser and parameter specification
2015-10-20 15:00:23 +02:00
Raffi Enficiaud 5655c491a6 Revert "after testing"
This reverts commit a733f30a31.
2015-10-08 03:28:28 +02:00
Raffi Enficiaud cabcd04597 Revert "file headers cleanup"
This reverts commit ffb90f21b7.
2015-10-08 03:17:48 +02:00
Gennadiy Rozental ffb90f21b7 file headers cleanup 2015-09-29 22:18:22 -04:00
Gennadiy Rozental a733f30a31 after testing 2015-09-24 02:41:37 -04:00
Gennadiy Rozental c20710f967 timeout declared as unsigned eliminating number of warnings 2015-07-07 15:54:15 -04:00
Gennadiy Rozental 761f74e692 avoid spaces in test case names 2015-07-07 13:44:53 -04:00
Gennadiy Rozental eca6b70158 Introduce --list_labels CLA 2015-07-05 22:28:27 -04:00
Gennadiy Rozental e6e9952326 semicolon should trail macro 2015-06-12 05:38:10 -04:00
Gennadiy Rozental 8231cbc88d after merge 2015-05-28 02:33:46 -04:00
Gennadiy Rozental e69cd835eb spaces 2015-05-28 02:30:03 -04:00
Gennadiy Rozental d15f4c4f52 interaction based testing is killed (for now) 2015-05-24 18:40:56 -04:00
Gennadiy Rozental f339dfa9bb introduced 2 new manipulators: per_element and lexicographic; removed prod_tools.hpp 2015-05-08 05:53:48 -04:00
Gennadiy Rozental 24e5ddec4a reworked decorators somewhat; introduce alternative API for attaching decorators; fixed gap in decorators support for test case generators; limited decorator designation to * only 2015-02-16 05:53:23 -05:00
Gennadiy Rozental 588a3c1187 revert 2015-02-14 17:08:52 -05:00
Gennadiy Rozental 46e441d0c3 remove executable bit 2015-02-11 14:22:13 -05:00
Gennadiy Rozental 2bef3d3af2 added precondition decorator 2015-02-01 07:47:23 -05:00
Gennadiy Rozental 4b478b53c6 Major rework of filtering approach
the status (enabled/disabled) is split on default and run status. Default is deduced once at the end of setup phase. Run state is deduced before each test tree execution based on default and supplied filters
  disabled nodes are not removed from tree and can be reenabled dynamically
  dependency filtering is moved completely to execution phase into a precondition check step
  dependency tree is validated for loops
  dependency rank is respected in order of node execution now
  dependency works properly with random test execution

added support for selected vs. enabler filters

properly time test suites now

split initialization ans setup phase finalization into separate methods

--list_content parameter is now accepts optional string format name. Default is HRF. We now also support DOT output
  HRF output format is improved to include some test unit attributes (including description)

test suite is considered failing now if it has skipped test case

some messages produced changes to be syntactically correct: failed => has failed for example

properly report precondition failures in log messages

number of spelling errors fixed

small bug in random.hpp is fixed
2015-01-29 02:31:35 -05:00
Gennadiy Rozental 14a236b6c0 ongoing progress 2015-01-04 04:02:27 -05:00
Gennadiy Rozental e54a707693 revert wrong commit 2014-12-28 17:02:14 -05:00
Gennadiy Rozental b699bf6715 ongoing progress 2014-12-28 06:30:17 -05:00
Raffi Enficiaud adaaf1d816 Merge branch 'develop' into feature/quickbookdoc
Conflicts:
	example/unit_test_example_14.cpp
	include/boost/test/execution_monitor.hpp
	include/boost/test/tools/assertion.hpp
	include/boost/test/tools/old/impl.hpp
	include/boost/test/utils/runtime/cla/detail/argument_value_usage.hpp
	include/boost/test/utils/runtime/cla/parser.hpp
	test/Jamfile.v2

Just to keep feature/quickbookdoc updated
2014-12-11 12:01:31 +01:00
Raffi Enficiaud 10d0582c25 Licenses warnings 2014-12-11 10:58:59 +01:00
Gennadiy Rozental 46034650ba Ignore generate dfiles for now 2014-11-25 05:55:43 -05:00
Raffi Enficiaud 89719b5dbe Silencing the warnings on clang for the examples 2014-05-04 01:59:31 +02:00
Raffi Enficiaud f2e8f6fda4 cleanup to test the inclusion of example files in the documentation 2014-04-29 10:14:52 +02:00
Raffi Enficiaud 242c30facd missing semi colons
It looks like the proper call is this one (file and line should be specified)
2014-04-29 01:01:16 +02:00
Raffi Enficiaud 49b481caf0 license 2014-04-29 00:39:19 +02:00
Gennadiy Rozental 53e392f667 Updated copyright message 2014-03-03 01:16:29 -05:00