From 08f8a81b2c7e34d1333ef8629a36930ead3cb30e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Thu, 19 Mar 2020 12:37:51 +0100 Subject: [PATCH] Picking v2.11.2 docs changes --- docs/command-line.md | 2 +- docs/configuration.md | 2 +- docs/release-notes.md | 28 ++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/docs/command-line.md b/docs/command-line.md index dcc6a79a..51eeb2f6 100644 --- a/docs/command-line.md +++ b/docs/command-line.md @@ -323,7 +323,7 @@ Instead the user code is only measured and the plain mean from the samples is re ## Specify the amount of time in milliseconds spent on warming up each test
--benchmark-warmup-time
-> [Introduced](https://github.com/catchorg/Catch2/pull/1844) in Catch X.Y.Z. +> [Introduced](https://github.com/catchorg/Catch2/pull/1844) in Catch 2.11.2. Configure the amount of time spent warming up each test. diff --git a/docs/configuration.md b/docs/configuration.md index 38043a67..5b482a7d 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -252,7 +252,7 @@ namespace Catch { ## Overriding Catch's debug break (`-b`) -> [Introduced](https://github.com/catchorg/Catch2/pull/1846) in Catch X.Y.Z. +> [Introduced](https://github.com/catchorg/Catch2/pull/1846) in Catch 2.11.2. You can override Catch2's break-into-debugger code by defining the `CATCH_BREAK_INTO_DEBUGGER()` macro. This can be used if e.g. Catch2 does diff --git a/docs/release-notes.md b/docs/release-notes.md index d65c88d3..c3610bcf 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -2,6 +2,7 @@ # Release notes **Contents**
+[2.11.2](#2112)
[2.11.1](#2111)
[2.11.0](#2110)
[2.10.2](#2102)
@@ -32,6 +33,7 @@ [Older versions](#older-versions)
[Even Older versions](#even-older-versions)
+ ## 3.0.0 (in progress) ### (Potentially) Breaking changes @@ -86,6 +88,32 @@ +## 2.11.2 + +### Improvements +* GCC and Clang now issue warnings for suspicious code in assertions (#1880) + * E.g. `REQUIRE( int != unsigned int )` will now issue mixed signedness comparison warning + * This has always worked on MSVC, but it now also works for GCC and current Clang versions +* Colorization of "Test filters" output should be more robust now +* `--wait-for-keypress` now also accepts `never` as an option (#1866) +* Reporters no longer round-off nanoseconds when reporting benchmarking results (#1876) +* Catch2's debug break now supports iOS while using Thumb instruction set (#1862) +* It is now possible to customize benchmark's warm-up time when running the test binary (#1844) + * `--benchmark-warmup-time {ms}` +* User can now specify how Catch2 should break into debugger (#1846) + +### Fixes +* Fixes missing `` include in benchmarking (#1831) +* Fixed missing `` include in benchmarking (#1874) +* Hidden test cases are now also tagged with `[!hide]` as per documentation (#1847) +* Detection of whether libc provides `std::nextafter` has been improved (#1854) +* Detection of `wmain` no longer incorrectly looks for `WIN32` macro (#1849) + * Now it just detects Windows platform +* Composing already-composed matchers no longer modifies the partially-composed matcher expression + * This bug has been present for the last ~2 years and nobody reported it + + + ## 2.11.1 ### Improvements