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: Fri Oct 9 04:08:23 UTC 2026
Modified Files:
pkgsrc/devel/catch2: Makefile distinfo
Log Message:
catch2: updated to 3.16.1
3.16.1
Fixes
* Fixed optimizations being disabled after including benchmarking headers under MSVC.
* This was introduced in 3.16.0's fix for the deopt implementation for MSVC never being used.
* Fixed Console reporter replacing `\0xFF`s in user-provided strings.
* Added missing `<cassert>` include to `catch_generators_range.hpp`.
Improvements
* Workaround for GCC's quadratic scaling for release builds with number of test cases.
* In practice the improvement is only noticeable with unity builds and/or template product tests.
* Changed how decomposer operators are defined for better compilation times.
* For Catch2's `SelfTest` binary, this provides ~2% build time improvement.
* Changed how decomposer handles stringification for smaller binary sizes.
* For the `SelfTest` binary this is about ~8%.
* Improved compilation costs of multiple assertions in one test cases for release builds.
* Optimized initial test registration at process start:
* Fewer allocations for test cases with many tags.
* Faster processing for test cases with <=2 tags.
* Faster tag validation.
* Faster checking for duplicated test cases.
* Optimized test selection and filtering:
* Optimized filtering tests by test name.
* Running `SelfTest` with `abc*` as the filter pattern is ~10% faster.
Miscellaneous
* `catch_discover_tests` registers individual tests with `--order decl` for faster startup.
* For `SelfTest`, this provides 20% improvement in Debug and 5% in Release builds.
* `CMakeConfig::` family of tests use the main build's toolchain file.
* Deprecated throwing exceptions from the reporter interface functions.
* Previously, throwing from e.g. `assertionEnded` might, or might not, have worked depending on which assertion has ended. As it is not practical for Catch2 to guard against the reporters failing
randomly, and marking so with `noexcept` can provide compilation throughput improvements, I decided to fully forbid it.
* Reporter constructors are allowed to throw and the test binary will report the error nicely before exiting.
* Due to C++ limitations, this deprecation cannot be marked inside the code, only in docs.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/catch2/Makefile
cvs rdiff -u -r1.33 -r1.34 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.32 pkgsrc/devel/catch2/Makefile:1.33
--- pkgsrc/devel/catch2/Makefile:1.32 Thu Sep 3 05:07:13 2026
+++ pkgsrc/devel/catch2/Makefile Fri Oct 9 04:08:23 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.32 2026/09/03 05:07:13 adam Exp $
+# $NetBSD: Makefile,v 1.33 2026/10/09 04:08:23 adam Exp $
-DISTNAME= Catch2-3.16.0
+DISTNAME= Catch2-3.16.1
PKGNAME= ${DISTNAME:tl}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=catchorg/}
Index: pkgsrc/devel/catch2/distinfo
diff -u pkgsrc/devel/catch2/distinfo:1.33 pkgsrc/devel/catch2/distinfo:1.34
--- pkgsrc/devel/catch2/distinfo:1.33 Thu Sep 3 05:07:13 2026
+++ pkgsrc/devel/catch2/distinfo Fri Oct 9 04:08:23 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.33 2026/09/03 05:07:13 adam Exp $
+$NetBSD: distinfo,v 1.34 2026/10/09 04:08:23 adam Exp $
-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
+BLAKE2s (Catch2-3.16.1.tar.gz) = c450629395a553c0c9aaca6a2bfcb3f2048bb385a39432ebe73e951a6ea7fe6b
+SHA512 (Catch2-3.16.1.tar.gz) = a6b0f1d1bd9178382f06de9773b31e3efdcdfb20fc3b65b23d9675e0838da6f64c417a75e062bda918dd28781e5d11a78e7130cef2394e676c7bc2da9e49106b
+Size (Catch2-3.16.1.tar.gz) = 1228880 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