pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/catch2



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Sep  3 05:07:13 UTC 2026

Modified Files:
        pkgsrc/devel/catch2: Makefile distinfo

Log Message:
catch2: updated to 3.16.0

3.16.0

Fixes
* Multiple fixes in `catch_discover_tests`:
  * Fixed `<target>_TESTS` variable accumulating JSON fragments alongside test names.
    * This was introduced during the refactoring in last release.
  * Fixed `<target>_TESTS` variable from `catch_discover_tests` not escaping test names to be properly parsed by CMake.
    * This means that e.g. test names with semicolons will not be split into multiple partial test names.
    * This bug has existed since the first version of the script.
  * Fixed `TEST_PREFIX`/`TEST_SUFFIX` args having leading/trailing whitespace stripped.
* Added workaround for Clang 20-21 compile error with `TEMPLATE_PRODUCT_TEST_CASE`

Improvements
* Verbosity option is now handled per reporter.
  * The standalone `--verbosity` flag is propagated to all reporters as default, just like `--colour-mode`.
* The JSON reporter considers verbosity when listing tests.
* Another set of performance improvements for `catch_discover_tests` performance
  * The newest version can register about 3k tests in 1 second, up from 1k previously.
* The initial `TEST_CASE` registration is slightly faster.
* Reduced overhead from first instantiating `BENCHMARK` machinery in a TU.
* Improved compilation speed when multiple templated test case macros use the same types.
* Rewrote implementation of the string matchers
  * Case-sensitive matching (the default) is significantly faster.
  * Case-insensitive matching is faster in most cases.
* Added optimizer barrier to calls into benchmarks without return values
  * This limits the optimizations compiler can perform **between calls** into the benchmarked function, improving the accuracy.
* Added warning that checks for using sharding without deterministic test order


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/catch2/Makefile
cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/catch2/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/catch2/Makefile
diff -u pkgsrc/devel/catch2/Makefile:1.31 pkgsrc/devel/catch2/Makefile:1.32
--- pkgsrc/devel/catch2/Makefile:1.31   Sat Aug  1 15:35:31 2026
+++ pkgsrc/devel/catch2/Makefile        Thu Sep  3 05:07:13 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2026/08/01 15:35:31 adam Exp $
+# $NetBSD: Makefile,v 1.32 2026/09/03 05:07:13 adam Exp $
 
-DISTNAME=      Catch2-3.15.3
+DISTNAME=      Catch2-3.16.0
 PKGNAME=       ${DISTNAME:tl}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=catchorg/}

Index: pkgsrc/devel/catch2/distinfo
diff -u pkgsrc/devel/catch2/distinfo:1.32 pkgsrc/devel/catch2/distinfo:1.33
--- pkgsrc/devel/catch2/distinfo:1.32   Sat Aug  1 15:35:31 2026
+++ pkgsrc/devel/catch2/distinfo        Thu Sep  3 05:07:13 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.32 2026/08/01 15:35:31 adam Exp $
+$NetBSD: distinfo,v 1.33 2026/09/03 05:07:13 adam Exp $
 
-BLAKE2s (Catch2-3.15.3.tar.gz) = 8dea83e053a0c7ddddf5565fd2bb590bd6a136808247885e706cb221e5e2effa
-SHA512 (Catch2-3.15.3.tar.gz) = 313d413fe2daa070a60abe17641d112da72320a917cd96bcbda3931d4c47bbca81f669bd7724387bc63a3614112fc12ae8228043bf58a676d0191ee5b16bc7a1
-Size (Catch2-3.15.3.tar.gz) = 1208344 bytes
+BLAKE2s (Catch2-3.16.0.tar.gz) = c23678167406cae36c4da44d47f461d89e24844edfabca71a252f8ac200b9529
+SHA512 (Catch2-3.16.0.tar.gz) = b17a1d03bd206ec2a006bfd2cb6a40cb641dd6c3ee192f4e4830ecc2c7fe60ffb2d98397adbb7c039b065c891ebc5dcd0e02331dff472ced7411f8263e1d7b29
+Size (Catch2-3.16.0.tar.gz) = 1216799 bytes
 SHA1 (patch-CMakeLists.txt) = 6e0f364c5931a03b0b6d5a26654e92070073778a
 SHA1 (patch-src_catch2_internal_catch__floating__point__helpers.hpp) = 32d9a0146f8a04cd203876e695c9a105b53a198f
 SHA1 (patch-src_catch2_matchers_catch__matchers__floating__point.cpp) = 855c7edee42b5befa4c4d70f3186809d5e0f3652



Home | Main Index | Thread Index | Old Index