Skip to content

Commit

Permalink
catch2: updated to 3.5.3
Browse files Browse the repository at this point in the history
3.5.3

Fixes
* Fixed OOB access when computing filename tag (from the `-#` flag) for file without extension
* Fixed the linking against `log` on Android to be `PRIVATE`
* Fixed `Wuseless-cast` in benchmarking internals

Improvements
* Restored compatibility with VS2017
 * The baseline for Catch2 is still C++14 with some reasonable workarounds for specific compilers, so if VS2017 starts acting up again, the support will be dropped again.
* Suppressed clang-tidy's `bugprone-chained-comparison` in assertions
* Improved the static analysis mode to evaluate arguments to `TEST_CASE` and `SECTION`
 * Clang-tidy should no longer warn about runtime arguments to these macros being unused in static analysis mode.
 * Clang-tidy can warn on issues involved arguments to these macros.
* Added support for literal-zero detectors based on `consteval` constructors
 * This is required for compiling `REQUIRE((a <=> b) == 0)` against MSVC's stdlib.
 * Sadly, MSVC still cannot compile this assertion as it does not implement C++20 correctly.
 * You can use `clang-cl` with MSVC's stdlib instead.
 * If for some godforsaken reasons you want to understand this better, read the two relevant commits: [`dc51386b9fd61f99ea9c660d01867e6ad489b403`](catchorg/Catch2@dc51386), and [`0787132fc82a75e3fb255aa9484ca1dc1eff2a30`](catchorg/Catch2@0787132).

Miscellaneous
* Disabled tests for FP random generator reproducibility on non-SSE2 x86 targets
* Modified the in-tree Conan recipe to support Conan 2
  • Loading branch information
adam committed Mar 2, 2024
1 parent 0a16b6a commit 0e81b97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions devel/catch2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.15 2024/01/16 06:23:57 adam Exp $
# $NetBSD: Makefile,v 1.16 2024/03/02 12:47:19 adam Exp $

DISTNAME= Catch2-3.5.2
DISTNAME= Catch2-3.5.3
PKGNAME= ${DISTNAME:tl}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=catchorg/}
Expand Down
8 changes: 4 additions & 4 deletions devel/catch2/distinfo
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.16 2024/01/18 09:52:27 nros Exp $
$NetBSD: distinfo,v 1.17 2024/03/02 12:47:19 adam Exp $

BLAKE2s (Catch2-3.5.2.tar.gz) = 6b022b459338b86f3ea6f8c9a415d81e730ac545aac68832238c6b6a28fc664d
SHA512 (Catch2-3.5.2.tar.gz) = 1b9d5f35144f6c7acef0e76558a4adf3ff41c2c2292fbdcb3e2c2917fa2deb7fba593738105dd3c111f02ee8aca64010cf68f69bb8fb1815dbf771b509ab0576
Size (Catch2-3.5.2.tar.gz) = 1159985 bytes
BLAKE2s (Catch2-3.5.3.tar.gz) = 411770cb4b0cd3aebc8b10b7899e91b6c3b9dd6936d03ea3f9d4ceef820e0eb5
SHA512 (Catch2-3.5.3.tar.gz) = 57c996f679cbad212cb0fde39e506bade37bd559c0e93e20f407f2a2f029e98b78661e10257f9c8e4cb5fd7d52d0ea1eae3d4a1f989c6d66fcb281e32e1688f6
Size (Catch2-3.5.3.tar.gz) = 1169512 bytes
SHA1 (patch-src_catch2_catch__tostring.cpp) = d18154d9b987d48ef90947d02f6ae92e2569b8c7
SHA1 (patch-src_catch2_internal_catch__floating__point__helpers.hpp) = 32d9a0146f8a04cd203876e695c9a105b53a198f
SHA1 (patch-src_catch2_matchers_catch__matchers__floating__point.cpp) = 855c7edee42b5befa4c4d70f3186809d5e0f3652

0 comments on commit 0e81b97

Please sign in to comment.