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:           Tue Aug 20 09:29:46 UTC 2024

Modified Files:
        pkgsrc/devel/catch2: Makefile PLIST distinfo

Log Message:
catch2: updated to 3.7.0

v3.7.0

Improvements

Slightly improved compile times of benchmarks
Made the resolution estimation in benchmarks slightly more precise
Added new test case macro, TEST_CASE_PERSISTENT_FIXTURE
Unlike TEST_CASE_METHOD, the same underlying instance is used for all partial runs of that test case
MASSIVELY improved performance of the JUnit reporter when handling successful assertions
For 1 test case and 10M assertions, the new reporter runs 3x faster and uses up only 8 MB of memory, while the old one needs 7 GB of memory.
Reworked how output redirects works.
Combining a reporter writing to stdout with capturing reporter no longer leads to the capturing reporter seeing all of the other reporter's output.
The file based redirect no longer opens up a new temporary file for each partial test case run, so it will not run out of temporary files when running many tests in single process.

Miscellaneous

Better documentation for matchers on thrown exceptions (REQUIRE_THROWS_MATCHES)
Improved catch_discover_tests's handling of environment paths
It won't reorder paths in DL_PATHS or DYLD_FRAMEWORK_PATHS args
It won't overwrite the environment paths for test discovery


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/catch2/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/catch2/PLIST
cvs rdiff -u -r1.19 -r1.20 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.18 pkgsrc/devel/catch2/Makefile:1.19
--- pkgsrc/devel/catch2/Makefile:1.18   Wed May 29 11:10:02 2024
+++ pkgsrc/devel/catch2/Makefile        Tue Aug 20 09:29:46 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2024/05/29 11:10:02 adam Exp $
+# $NetBSD: Makefile,v 1.19 2024/08/20 09:29:46 adam Exp $
 
-DISTNAME=      Catch2-3.6.0
+DISTNAME=      Catch2-3.7.0
 PKGNAME=       ${DISTNAME:tl}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=catchorg/}
@@ -12,13 +12,13 @@ COMMENT=    C++ test framework for unit tes
 LICENSE=       boost-license
 
 WRKSRC=                ${WRKDIR}/${DISTNAME}
-USE_LANGUAGES= c c++
+
+USE_CXX_FEATURES=      c++17
+USE_LANGUAGES=         c c++
 
 CMAKE_CONFIGURE_ARGS+= -DBUILD_TESTING=OFF
 CMAKE_CONFIGURE_ARGS+= -DPKGCONFIG_INSTALL_DIR:PATH=${PREFIX}/lib/pkgconfig
 CMAKE_CONFIGURE_ARGS+= -DCMAKE_CXX_STANDARD=17
 
-USE_CXX_FEATURES+=     c++17
-
 .include "../../devel/cmake/build.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/catch2/PLIST
diff -u pkgsrc/devel/catch2/PLIST:1.2 pkgsrc/devel/catch2/PLIST:1.3
--- pkgsrc/devel/catch2/PLIST:1.2       Mon Jan 15 09:33:46 2024
+++ pkgsrc/devel/catch2/PLIST   Tue Aug 20 09:29:46 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2024/01/15 09:33:46 nros Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/08/20 09:29:46 adam Exp $
 include/catch2/benchmark/catch_benchmark.hpp
 include/catch2/benchmark/catch_benchmark_all.hpp
 include/catch2/benchmark/catch_chronometer.hpp
@@ -25,6 +25,7 @@ include/catch2/catch_all.hpp
 include/catch2/catch_approx.hpp
 include/catch2/catch_assertion_info.hpp
 include/catch2/catch_assertion_result.hpp
+include/catch2/catch_case_sensitive.hpp
 include/catch2/catch_config.hpp
 include/catch2/catch_get_random_seed.hpp
 include/catch2/catch_message.hpp
@@ -63,7 +64,6 @@ include/catch2/interfaces/catch_interfac
 include/catch2/interfaces/catch_interfaces_testcase.hpp
 include/catch2/internal/catch_assertion_handler.hpp
 include/catch2/internal/catch_case_insensitive_comparisons.hpp
-include/catch2/internal/catch_case_sensitive.hpp
 include/catch2/internal/catch_clara.hpp
 include/catch2/internal/catch_commandline.hpp
 include/catch2/internal/catch_compare_traits.hpp

Index: pkgsrc/devel/catch2/distinfo
diff -u pkgsrc/devel/catch2/distinfo:1.19 pkgsrc/devel/catch2/distinfo:1.20
--- pkgsrc/devel/catch2/distinfo:1.19   Wed May 29 11:10:02 2024
+++ pkgsrc/devel/catch2/distinfo        Tue Aug 20 09:29:46 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.19 2024/05/29 11:10:02 adam Exp $
+$NetBSD: distinfo,v 1.20 2024/08/20 09:29:46 adam Exp $
 
-BLAKE2s (Catch2-3.6.0.tar.gz) = 956eb384b1c01b3a21c3d5150000b73a2e911ad36981b38fac25cbcd0294101f
-SHA512 (Catch2-3.6.0.tar.gz) = 09c728a04d69b0692d6e2f7ceb5889dc69309406c27f7f2b5d383245a5357657c5540dd64a7a4a6e19388bda68105002425286468578b69b20e3a75366871ce2
-Size (Catch2-3.6.0.tar.gz) = 1181300 bytes
+BLAKE2s (Catch2-3.7.0.tar.gz) = c6f9b4aa15cb60051e458b10999a0bf2460576b622bf108651756b84130ce086
+SHA512 (Catch2-3.7.0.tar.gz) = 4f577da378c9fa7c205abc145b92f8b81a998274c2e5a08fce233cd43326a6ae30645379e2c3e32abca21c2168a298fd4690893a13d65733d8bd1e7b19fefea8
+Size (Catch2-3.7.0.tar.gz) = 1190454 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



Home | Main Index | Thread Index | Old Index