pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/googletest googletest: update to 1.11.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad737b7f3ba0
branches:  trunk
changeset: 455107:ad737b7f3ba0
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jun 28 09:07:53 2021 +0000

description:
googletest: update to 1.11.0.

Release Notes

Documentation

    Contents significantly updated
    Files moved into docs (4892835)
    Now using GitHub pages (1a5a78b, d9c309f, c3fc92f)
    Added Bazel quickstart (32ad3c8)
    Added CMake quickstart (d4e3b8c)

Mocking

    MOCK_METHOD now handles noexcept correctly (#2498)
    MOCK_METHOD now supports ref-qualifiers (d89b363)
    MOCK_METHOD now supports returning function pointers (1f9edcd)
    DoAll now accepts move-only arguments (48ec640)
    MockFunction can now be used for mocking std::function (#2350)
    MockFunction is now templated for use with other function classes, besides std::function (662fe38)
    ACTION macros now support more than 10 arguments (63713e1)

Matchers

    New matchers
        IsNan (bbe4b73)
        FieldsAre (a462188)
        Pointer (a02a591)
        Address (e5644f5)
        Throws and ThrowsMessage (#2904)
    New actions
        ReturnRoundRobin (37f3227)
    Added Matcher<std::string_view> specialization that internally stores a string instead of string_view (6f5fd0d)
    String matchers now accept string_view input (13a433a)
    DoubleNearPredFormat matcher now fails on impractically small epsilons (b5687db)
    Truly matcher now explains failures (0c400f6)
    Matchers can now be implemented without extending MatcherInterface (c13c27a)
    Added output messages for skipped tests (#2517, #2767)

Behavior

    New flags
        --gtest_brief shows only test failures in output (#2751)
        --gtest_fail_fast stops test execution on first failure (1ced315)
    Failures in SetUpTestSuite and TearDownTestSuite now cause tests to fail rather than log (9ed99c6)
    Uninstantiated TEST_P and TYPED_TEST_P now fail unless allowlisted using GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST (d442089, a13a062, 0b024bd, 3e79d36, ec94d9f)

Output

    Added specialized printing for std::any, std::optional, and std::variant (#2742)
    Added recursive printing for std::unique_ptr and std::shared_ptr (6b2e749)
    Printing incomplete types is now supported (f8304d7)
    Start timestamps in XML/JSON output now use millisecond precision (af1e75c)
    Added more structured information about test suite to XML/JSON output on environment failures (ac1d60c)

Build & Test

    CMake minimum increased to 2.8.12 (#3094)
    GoogleTest is now using Kokoro CI instead of Travis and AppVeyor

Misc

    Removed support for GTEST_HAS_STD_STRING (#2456)
    Replaced pump code generation with variadic templates (#2388, d8eeb97, 4b9c169, fbf67a7, 41b5f14, 710f9c1, 997c36c, 59dea67)

diffstat:

 devel/googletest/Makefile |   7 +++++--
 devel/googletest/PLIST    |  10 +---------
 devel/googletest/distinfo |  10 +++++-----
 3 files changed, 11 insertions(+), 16 deletions(-)

diffs (71 lines):

diff -r 1876a3c85d73 -r ad737b7f3ba0 devel/googletest/Makefile
--- a/devel/googletest/Makefile Mon Jun 28 08:50:32 2021 +0000
+++ b/devel/googletest/Makefile Mon Jun 28 09:07:53 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2020/10/25 12:59:26 nia Exp $
+# $NetBSD: Makefile,v 1.20 2021/06/28 09:07:53 wiz Exp $
 
-DISTNAME=      googletest-1.10.0
+DISTNAME=      googletest-1.11.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
 GITHUB_TAG=    release-${PKGVERSION_NOREV}
@@ -18,6 +18,9 @@
 # cc1plus: error: unrecognized command line option "-std=c++11"
 GCC_REQD+=             4.8
 
+CFLAGS+=               -fPIE
+CXXFLAGS+=             -fPIE
+
 PKGCONFIG_OVERRIDE+=   googlemock/cmake/gmock.pc.in
 PKGCONFIG_OVERRIDE+=   googlemock/cmake/gmock_main.pc.in
 PKGCONFIG_OVERRIDE+=   googletest/cmake/gtest.pc.in
diff -r 1876a3c85d73 -r ad737b7f3ba0 devel/googletest/PLIST
--- a/devel/googletest/PLIST    Mon Jun 28 08:50:32 2021 +0000
+++ b/devel/googletest/PLIST    Mon Jun 28 09:07:53 2021 +0000
@@ -1,13 +1,7 @@
-@comment $NetBSD: PLIST,v 1.7 2020/04/07 21:36:58 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2021/06/28 09:07:53 wiz Exp $
 include/gmock/gmock-actions.h
 include/gmock/gmock-cardinalities.h
 include/gmock/gmock-function-mocker.h
-include/gmock/gmock-generated-actions.h
-include/gmock/gmock-generated-actions.h.pump
-include/gmock/gmock-generated-function-mockers.h
-include/gmock/gmock-generated-function-mockers.h.pump
-include/gmock/gmock-generated-matchers.h
-include/gmock/gmock-generated-matchers.h.pump
 include/gmock/gmock-matchers.h
 include/gmock/gmock-more-actions.h
 include/gmock/gmock-more-matchers.h
@@ -16,7 +10,6 @@
 include/gmock/gmock.h
 include/gmock/internal/custom/README.md
 include/gmock/internal/custom/gmock-generated-actions.h
-include/gmock/internal/custom/gmock-generated-actions.h.pump
 include/gmock/internal/custom/gmock-matchers.h
 include/gmock/internal/custom/gmock-port.h
 include/gmock/internal/gmock-internal-utils.h
@@ -45,7 +38,6 @@
 include/gtest/internal/gtest-port.h
 include/gtest/internal/gtest-string.h
 include/gtest/internal/gtest-type-util.h
-include/gtest/internal/gtest-type-util.h.pump
 lib/cmake/GTest/GTestConfig.cmake
 lib/cmake/GTest/GTestConfigVersion.cmake
 lib/cmake/GTest/GTestTargets-noconfig.cmake
diff -r 1876a3c85d73 -r ad737b7f3ba0 devel/googletest/distinfo
--- a/devel/googletest/distinfo Mon Jun 28 08:50:32 2021 +0000
+++ b/devel/googletest/distinfo Mon Jun 28 09:07:53 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2020/04/07 21:36:58 adam Exp $
+$NetBSD: distinfo,v 1.11 2021/06/28 09:07:53 wiz Exp $
 
-SHA1 (googletest-1.10.0.tar.gz) = 9c89be7df9c5e8cb0bc20b3c4b39bf7e82686770
-RMD160 (googletest-1.10.0.tar.gz) = f2f7f96adf1ab8aae3f6204fdba3ff150fd4396b
-SHA512 (googletest-1.10.0.tar.gz) = bd52abe938c3722adc2347afad52ea3a17ecc76730d8d16b065e165bc7477d762bce0997a427131866a89f1001e3f3315198204ffa5d643a9355f1f4d0d7b1a9
-Size (googletest-1.10.0.tar.gz) = 904349 bytes
+SHA1 (googletest-1.11.0.tar.gz) = 7b100bb68db8df1060e178c495f3cbe941c9b058
+RMD160 (googletest-1.11.0.tar.gz) = 4a1a53c93848c3e80cfd857b0eb2c2aa5029e38b
+SHA512 (googletest-1.11.0.tar.gz) = 6fcc7827e4c4d95e3ae643dd65e6c4fc0e3d04e1778b84f6e06e390410fe3d18026c131d828d949d2f20dde6327d30ecee24dcd3ef919e21c91e010d149f3a28
+Size (googletest-1.11.0.tar.gz) = 886330 bytes



Home | Main Index | Thread Index | Old Index