2
0
mirror of https://github.com/boostorg/test.git synced 2026-02-20 03:02:10 +00:00
Commit Graph

3165 Commits

Author SHA1 Message Date
Raffi Enficiaud
741ff88f56 Merge branch 'topic/GH-241-floating-point-strict-comparison-warning' into next-internal
* topic/GH-241-floating-point-strict-comparison-warning:
  Change log
  Silencing strict floating point comparison warning
2019-12-20 21:23:26 +01:00
Raffi Enficiaud
8831535002 Merge branch 'topic/PR114-unreachable-code-warning-MSVC' into next-internal
* topic/PR114-unreachable-code-warning-MSVC:
  Change log
  Adding some slack in a faulty timed test
  Silence MSVC unreachable code warning (/W4)
2019-12-20 21:23:18 +01:00
Raffi Enficiaud
a77b9ef5a9 Merge branch 'topic/GH-235-gcc-attribute-warnings' into next-internal
* topic/GH-235-gcc-attribute-warnings:
  Change log
  BOOST_TEST_DECL should evalute to nothing in the included variant
2019-12-20 21:22:40 +01:00
Raffi Enficiaud
c53872aec9 Merge branch 'topic/PR-239-unused-variable-warning' into next-internal
* topic/PR-239-unused-variable-warning:
  Change log
  Fix unused variable warning in unit_test_main.ipp
2019-12-20 21:22:31 +01:00
Raffi Enficiaud
90a3001fa8 Change log 2019-12-20 21:21:32 +01:00
Raffi Enficiaud
adbdbf20f5 Silencing strict floating point comparison warning 2019-12-20 21:21:32 +01:00
Raffi Enficiaud
1b07205303 Change log 2019-12-20 21:21:22 +01:00
Raffi Enficiaud
29f7c20e35 BOOST_TEST_DECL should evalute to nothing in the included variant
In the included variant, BOOST_TEST_DECL previously evaluated to
BOOST_SYMBOL_VISIBLE which causes warnings in some platforms
2019-12-20 21:21:21 +01:00
Raffi Enficiaud
71caba117e Change log 2019-12-20 21:20:50 +01:00
Raffi Enficiaud
690015b282 Adding some slack in a faulty timed test 2019-12-20 21:20:50 +01:00
Norbert Wenzel
119a3a7294 Silence MSVC unreachable code warning (/W4)
BOOST_UNREACHABLE_RETURN creates several issues on
various MSVC compilers (manifest issue), curiously only
for the program monitor type of binaries. Making
a workaround for the time being.
2019-12-20 21:20:50 +01:00
Raffi Enficiaud
4f3d21b52b Change log 2019-12-20 21:20:17 +01:00
Adam Wulkiewicz
a5fbe62859 Fix unused variable warning in unit_test_main.ipp 2019-12-20 21:20:17 +01:00
Raffi Enficiaud
02785b9f42 Change log
Closed ticket
2019-12-18 23:55:16 +01:00
Raffi Enficiaud
71f02a6c9a Removing broken compilers from Travis 2019-12-15 23:23:16 +01:00
Raffi Enficiaud
180e679d08 Change log 2019-12-15 20:19:14 +01:00
Raffi Enficiaud
93a3e386af Merge branch 'topic/GH-237-non-abstract-non-virtual-dtor' into develop
* topic/GH-237-non-abstract-non-virtual-dtor:
  Change log
  Making the virtual on dtor default on all compilers
2019-12-13 21:17:24 +01:00
Raffi Enficiaud
31d03b3c4f Change log 2019-12-12 21:47:02 +01:00
Raffi Enficiaud
13ca3e07f0 Making the virtual on dtor default on all compilers
BOOST_TEST_PROTECTED_VIRTUAL is active only for a very few number of
compilers. Make it default on all except some instead.
2019-12-12 21:46:10 +01:00
Raffi Enficiaud
7dda5e9c3b Change log for 1.73 2019-12-12 21:45:56 +01:00
Raffi Enficiaud
aaacf00faa Merge branch 'topic/PR-234-boost-diagnostic_information-rtti' into next-internal
* topic/PR-234-boost-diagnostic_information-rtti:
  Change log
  boost::diagnostic_information() works in no rtti mode.
2019-11-12 18:01:33 +01:00
Raffi Enficiaud
0c9ff7204d Change log 2019-11-12 18:01:05 +01:00
Raffi Enficiaud
79ebb9d06d Merge branch 'topic/GH-206-compile-time-disabled-junit' into next-internal
* topic/GH-206-compile-time-disabled-junit:
  Change log
  Fix counting the skipped tests
  Reverting unrelated breaking change
2019-11-11 21:15:38 +01:00
Raffi Enficiaud
3bbe17cb6b Change log 2019-11-11 21:15:09 +01:00
Raffi Enficiaud
6f55433094 Fix counting the skipped tests
- framework now does not shortcut the message when a skipped
  tests is encountered
- framework messages are now at line "0" to avoid any further noise
  in the messages when files in the framework are changed
- counting tests in case of disabled tests goes in the hierarchy
- counter class now has the ability to discard the enabled status
  to count properly the children tests
- adding tests
- ensuring C++03 compatibility
2019-11-11 21:15:08 +01:00
Mikhail Pilin
d29fe65a6d boost::diagnostic_information() works in no rtti mode. 2019-11-11 15:57:03 +01:00
Raffi Enficiaud
2f7bc05ba4 Reverting unrelated breaking change 2019-11-04 23:55:18 +01:00
Raffi Enficiaud
599b0bb76c Merge branch 'topic/PR-232-fix-timeout-in-windows' into next-internal
* topic/PR-232-fix-timeout-in-windows:
  Change log
  Update execution_monitor.ipp
2019-10-31 18:43:08 +01:00
Raffi Enficiaud
b19cf0eb75 Change log 2019-10-31 14:26:28 +01:00
mmitti
d9c0145161 Update execution_monitor.ipp 2019-10-31 14:25:52 +01:00
Raffi Enficiaud
d67b643309 Merge branch 'topic/GH-223-cannot-filter-template-test-cases' into next-internal
* topic/GH-223-cannot-filter-template-test-cases:
  Change log
  Documentation updates
  Normalizing test names accross several compilers
  Sanitizing template test cases that contain ',' in their name
2019-10-31 08:55:59 +01:00
Raffi Enficiaud
a3f9121a66 Change log 2019-10-31 08:54:50 +01:00
Raffi Enficiaud
ae01c8387c Documentation updates
- section about command line argument filtering for template test cases
- many typos fixes
- remove reference to bjam
2019-10-31 08:54:50 +01:00
Raffi Enficiaud
ae2e446cc0 Normalizing test names accross several compilers 2019-10-31 08:20:11 +01:00
Raffi Enficiaud
1c4533f765 Sanitizing template test cases that contain ',' in their name
- adding various smoke tests on the test command line filtering
2019-10-30 09:08:26 +01:00
Raffi Enficiaud
1119b669b7 Merge branch 'topic/GH-210-comparing-string-views' into next-internal
* topic/GH-210-comparing-string-views:
  Change log
  Documentation update
  C++17 string_view support
2019-10-30 08:17:53 +01:00
Raffi Enficiaud
0d3cc3c9c0 Change log 2019-10-30 08:15:57 +01:00
Raffi Enficiaud
d283016282 Documentation update 2019-10-30 08:15:57 +01:00
Raffi Enficiaud
d5cb100b1e C++17 string_view support
- subclassing cstring in order to be able to create an instance of cstring
  without changing its signature: the code remains C++03/C++17 compatibile
  even if boost.test is compiled with other options than the test module
- added casting and usage checks
- deduce_cstring rationale change
2019-10-30 08:15:57 +01:00
Raffi Enficiaud
a1bafb22eb Merge branch 'topic/GH-229-random-shuffle-deprecation-warning' into next-internal
* topic/GH-229-random-shuffle-deprecation-warning:
  Change log
  Removing calls to std::random_shuffle in favour of the drop-in replacement
2019-10-20 18:40:05 +02:00
Raffi Enficiaud
265d1f9887 Merge branch 'topic/GH-217-init-list-boolean' into next-internal
* topic/GH-217-init-list-boolean:
  Change log
  Avoiding any proxying of the boolean values
2019-10-20 18:38:48 +02:00
Raffi Enficiaud
17c0bd5ffd Change log 2019-10-08 07:43:43 +02:00
Raffi Enficiaud
a3a07d08ee Avoiding any proxying of the boolean values
std::vector<bool>::const_iterator returns a temporary of a proxy class
while the value is needed for constructing the test case with parameters.

- added test reproducing the issue
2019-10-08 07:43:37 +02:00
Raffi Enficiaud
e93aabff5f Change log 2019-10-08 00:33:17 +02:00
Raffi Enficiaud
15c17c25c1 Removing calls to std::random_shuffle in favour of the drop-in replacement
The conditional call makes the code more complicated and fires a warning
on C++11 compilers about deprecation.
2019-10-08 00:32:34 +02:00
Raffi Enficiaud
5262170050 Merge branch 'topic/PR-231-defines-missing-openbsd' into next-internal
* topic/PR-231-defines-missing-openbsd:
  Change log
  OpenBSD is missing SI_ASYNCIO and SI_MESGQ
2019-10-05 15:09:47 +02:00
Raffi Enficiaud
ccef680d77 Merge branch 'topic/PR-227-printf-format-checking' into next-internal
* topic/PR-227-printf-format-checking:
  Change log
  Add printf format checking attribute to report_error
2019-10-05 15:08:46 +02:00
Raffi Enficiaud
bf42d28fd3 Change log 2019-10-05 12:26:37 +02:00
Edward Catmur
0aeb445fa4 Add printf format checking attribute to report_error
On gcc and clang, add __attribute__((__format__)) checking to the report_error function.

Cast faulting addresses to uintptr_t for formatting as 0x%08lx - this won't work on LLP64, but Win64 uses SEH anyway.
Fix swapped si_code/si_addr (& si_band) format arguments.
Add missing %s to format diagnostic information.

- Check __GNUC__ major : format attribute was introduced sometime during gcc 2.8, so 3 definitely has it.
  Same should apply for any compiler claiming GNUC compatibility
- Check that diagnostic information is not passed to format unescaped: If it is passed unescaped, the '%%' will be
  condensed to a single '%' and the test will fail.
2019-10-05 12:26:37 +02:00
Raffi Enficiaud
1b4a8b9aaa Change log 2019-10-05 12:20:55 +02:00