From 4aefbbcd028a23ec4c111e990cbdb32a88e8bea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Tue, 21 Apr 2020 16:33:15 +0200 Subject: [PATCH] Pick docs for v2.12.0 --- docs/command-line.md | 2 ++ docs/release-notes.md | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/docs/command-line.md b/docs/command-line.md index 2b506f16..1741eb8f 100644 --- a/docs/command-line.md +++ b/docs/command-line.md @@ -260,6 +260,8 @@ Randomly sorted. The order is dependent on Catch2's random seed (see is that as long as the random seed is fixed, running only some tests (e.g. via tag) does not change their relative order. +> The subset stability was introduced in Catch2 v2.12.0 + ## Specify a seed for the Random Number Generator diff --git a/docs/release-notes.md b/docs/release-notes.md index 3fe30a4e..9bd23ee0 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -2,6 +2,7 @@ # Release notes **Contents**
+[2.12.0](#2120)
[2.11.3](#2113)
[2.11.2](#2112)
[2.11.1](#2111)
@@ -34,6 +35,28 @@ [Older versions](#older-versions)
[Even Older versions](#even-older-versions)
+## 2.12.0 + +### Improvements +* Running tests in random order (`--order rand`) has been reworked significantly (#1908) + * Given same seed, all platforms now produce the same order + * Given same seed, the relative order of tests does not change if you select only a subset of them +* Vector matchers support custom allocators (#1909) +* `|` and `&` (bitwise or and bitwise and) are now supported in `CHECK` and `REQUIRE` + * The resulting type must be convertible to `bool` + +### Fixes +* Fixed computation of benchmarking column widths in ConsoleReporter (#1885, #1886) +* Suppressed clang-tidy's `cppcoreguidelines-pro-type-vararg` in assertions (#1901) + * It was a false positive trigered by the new warning support workaround +* Fixed bug in test specification parser handling of OR'd patterns using escaping (#1905) + +### Miscellaneous +* Worked around IBM XL's codegen bug (#1907) + * It would emit code for _destructors_ of temporaries in an unevaluated context +* Improved detection of stdlib's support for `std::uncaught_exceptions` (#1911) + + ## 2.11.3 ### Fixes