From 31dd4420679cd3f6690b83c4c5f8574bb4f0839f5212560cca74210ab0608fa4 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 7 Mar 2023 19:55:19 +0000 Subject: [PATCH] - update to 3.3.2: * Further reduced allocations * The compact, console, TAP and XML reporters perform less allocations in various cases * Removed 1 allocation per entered `SECTION`/`TEST_CASE`. * Removed 2 allocations per test case exit, if stdout/stderr is captured * Improved performance * Section tracking is 10%-25% faster than in v3.3.0 * Assertion handling is 5%-10% faster than in v3.3.0 * Test case registration is 1%-2% faster than in v3.3.0 * Tiny speedup for registering listeners * Tiny speedup for `CAPTURE`, `TEST_CASE_METHOD`, `METHOD_AS_TEST_CASE`, and `TEMPLATE_LIST_TEST_*` macros. * `Contains`, `RangeEquals` and `UnorderedRangeEquals` matchers now support ranges with iterator + sentinel pair * Added `IsNaN` matcher * Unlike `REQUIRE(isnan(x))`, `REQUIRE_THAT(x, IsNaN())` shows you the value of `x`. * Suppressed `declared_but_not_referenced` warning for NVHPC (#2637) * Fixed performance regression in section tracking introduced in v3.3.1 * Extreme cases would cause the tracking to run about 4x slower than in 3.3.0 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=24 --- Catch2-3.3.1.tar.gz | 3 --- Catch2-3.3.2.tar.gz | 3 +++ Catch2.changes | 29 +++++++++++++++++++++++++++++ Catch2.spec | 2 +- 4 files changed, 33 insertions(+), 4 deletions(-) delete mode 100644 Catch2-3.3.1.tar.gz create mode 100644 Catch2-3.3.2.tar.gz diff --git a/Catch2-3.3.1.tar.gz b/Catch2-3.3.1.tar.gz deleted file mode 100644 index 60b426a..0000000 --- a/Catch2-3.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d90351cdc55421f640c553cfc0875a8c834428679444e8062e9187d05b18aace -size 1095450 diff --git a/Catch2-3.3.2.tar.gz b/Catch2-3.3.2.tar.gz new file mode 100644 index 0000000..bc291cf --- /dev/null +++ b/Catch2-3.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8361907f4d9bff3ae7c1edb027f813659f793053c99b67837a0c0375f065bae2 +size 1102862 diff --git a/Catch2.changes b/Catch2.changes index ba3c2f8..ebe70de 100644 --- a/Catch2.changes +++ b/Catch2.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Tue Mar 7 19:52:50 UTC 2023 - Dirk Müller + +- update to 3.3.2: + * Further reduced allocations + * The compact, console, TAP and XML reporters perform less + allocations in various cases + * Removed 1 allocation per entered `SECTION`/`TEST_CASE`. + * Removed 2 allocations per test case exit, if stdout/stderr is + captured + * Improved performance + * Section tracking is 10%-25% faster than in v3.3.0 + * Assertion handling is 5%-10% faster than in v3.3.0 + * Test case registration is 1%-2% faster than in v3.3.0 + * Tiny speedup for registering listeners + * Tiny speedup for `CAPTURE`, `TEST_CASE_METHOD`, + `METHOD_AS_TEST_CASE`, and `TEMPLATE_LIST_TEST_*` macros. + * `Contains`, `RangeEquals` and `UnorderedRangeEquals` matchers + now support ranges with iterator + sentinel pair + * Added `IsNaN` matcher + * Unlike `REQUIRE(isnan(x))`, `REQUIRE_THAT(x, IsNaN())` shows + you the value of `x`. + * Suppressed `declared_but_not_referenced` warning for NVHPC + (#2637) + * Fixed performance regression in section tracking introduced + in v3.3.1 + * Extreme cases would cause the tracking to run about 4x slower + than in 3.3.0 + ------------------------------------------------------------------- Tue Feb 14 05:37:32 UTC 2023 - Atri Bhattacharya diff --git a/Catch2.spec b/Catch2.spec index 10cc731..7488d9d 100644 --- a/Catch2.spec +++ b/Catch2.spec @@ -17,7 +17,7 @@ Name: Catch2 -Version: 3.3.1 +Version: 3.3.2 Release: 0 Summary: A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD License: BSL-1.0