From 9c94288c8506ee3999f6c8ae582690d1c94c8d0ba117250892dde0a1adf726f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 30 Sep 2024 10:41:49 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main googletest revision e8bf1cf836d76e42a340a09193e81a58 --- googletest-1.15.2.tar.gz | 3 ++ googletest-release-1.12.1.tar.gz | 3 -- googletest.changes | 64 +++++++++++++++++++++++++++++++- googletest.spec | 16 ++++---- 4 files changed, 74 insertions(+), 12 deletions(-) create mode 100644 googletest-1.15.2.tar.gz delete mode 100644 googletest-release-1.12.1.tar.gz diff --git a/googletest-1.15.2.tar.gz b/googletest-1.15.2.tar.gz new file mode 100644 index 0000000..894f68e --- /dev/null +++ b/googletest-1.15.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b42b4d6ed48810c5362c265a17faebe90dc2373c885e5216439d37927f02926 +size 872667 diff --git a/googletest-release-1.12.1.tar.gz b/googletest-release-1.12.1.tar.gz deleted file mode 100644 index da8381c..0000000 --- a/googletest-release-1.12.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:81964fe578e9bd7c94dfdb09c8e4d6e6759e19967e397dbea48d1c10e45d0df2 -size 854944 diff --git a/googletest.changes b/googletest.changes index 5d46c20..6de8e1d 100644 --- a/googletest.changes +++ b/googletest.changes @@ -1,3 +1,63 @@ +------------------------------------------------------------------- +Tue Sep 3 12:52:16 UTC 2024 - pgajdos@suse.com + +- version update to 1.15.2 + * C++ Language Support + * GoogleTest requires at least C++14 and follows Google's + Foundational C++ Support Policy. + * Bzlmod is now officially supported + * Many bug fixes + +------------------------------------------------------------------- +Mon Jul 29 08:33:13 UTC 2024 - Andreas Schwab + +- avoid extra '--' which newer ctests don't like anymore + +------------------------------------------------------------------- +Fri Jul 5 09:31:26 UTC 2024 - Dirk Müller + +- avoid extra '--' which newer ctests don't like anymore + +------------------------------------------------------------------- +Tue Mar 12 16:43:25 UTC 2024 - Takashi Iwai + +- Exclude test for 32bit x86 that is broken for now + +------------------------------------------------------------------- +Fri Mar 8 18:32:03 UTC 2024 - Richard Rahl + +- update to 1.14.0: + * GoogleTest requires at least C++14 + * Remove the GTEST_HAS_DOWNCAST_ customization point. + * Add googletest-message-test to the Bazel tests + * Make testing::Message support streamed AbslStringify values + * gtest: Supress warning about set unused variable + * Make AbslStringify usage public in GoogleTest + * Remove unused cast implementation + * Use template type FloatType in the cast. + * Fix C++20 compatibility bug. + * Make GoogleTest handle SEH exceptions before stack unwinding rather than afterward + * Resolve an issue where the resolution of operator<< overloads would attempt + to instantiate the incomplete testing::internal::Secret type. + * add support for nrf52 + * add support for nxp qn9090 mcu + * Allow clients to un-suppress output from gUnit EXPECT_EXIT tests. + * Use GTEST_INTERNAL_CPLUSPLUS_LANG instead of __cplusplus + * Add qualifier to avoid argument dependent lookup + * Add missing std includes + * Remove GTEST_FOR_GOOGLE_ macro + * Remove some filesystem APIs and tests under !GTEST_HAS_FILE_SYSTEM + +------------------------------------------------------------------- +Sun Mar 26 16:17:32 UTC 2023 - Andrea Manzini + +- update to 1.13.0: + * Floating point prints full precision by default to aid in debugging + * GTEST_FAIL_AT now terminates the test (like ASSERT_*), rather than failing and continuing (like EXPECT_*) + * Added testing::SrcDir(), which returns the configured directory for test data files + +- CMake and GCC minimum according to https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md + ------------------------------------------------------------------- Thu Oct 6 13:58:58 UTC 2022 - Dirk Müller @@ -32,7 +92,7 @@ Wed Jan 5 09:15:53 UTC 2022 - Dirk Müller * Uninstantiated TEST_P and TYPED_TEST_P now fail unless allowlisted using GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST * new matchers and mocking behavior, see - https://github.com/google/googletest/releases/tag/release-1.11.0 + https://github.com/google/googletest/releases/tag/release-1.11.0 ------------------------------------------------------------------- Mon May 17 17:35:26 UTC 2021 - Matej Cepl @@ -209,5 +269,5 @@ Tue Aug 9 15:36:41 CEST 2011 - tiwai@suse.de Sat Jul 9 07:29:10 UTC 2011 - ftake@geeko.jp - Initial import - * Upstream version: 1.6.0 + * Upstream version: 1.6.0 diff --git a/googletest.spec b/googletest.spec index 9a79df1..6e6f52c 100644 --- a/googletest.spec +++ b/googletest.spec @@ -1,7 +1,7 @@ # # spec file for package googletest # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,16 +24,16 @@ %define _name googlemock Name: googletest -Version: 1.12.1 +Version: 1.15.2 Release: 0 Summary: Google C++ Testing Framework License: BSD-3-Clause Group: Development/Libraries/C and C++ URL: https://github.com/google/googletest -Source0: https://github.com/google/googletest/archive/release-%{version}.tar.gz#/%{name}-release-%{version}.tar.gz +Source0: https://github.com/google/googletest/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: googletest-rpmlintrc -BuildRequires: cmake >= 3.5.0 -BuildRequires: gcc-c++ +BuildRequires: cmake >= 3.10.0 +BuildRequires: gcc-c++ >= 7.3.1 BuildRequires: pkgconfig BuildRequires: python3 BuildRequires: pkgconfig(pthread-stubs) @@ -80,7 +80,7 @@ This package provides shared libraries and header files for development with googlemock. %prep -%setup -q -n %{name}-release-%{version} +%autosetup %build %global optflags %(echo "%{optflags} -Wno-infinite-recursion -Wno-deprecated-declarations") @@ -99,8 +99,10 @@ mkdir -p %{buildroot}%{_includedir}/gtest/src && install -m 0644 googletest/src/ %check %if %{with tests} +%ifnarch %ix86 # googletest-port-test is checking the threadcount which is incorrect under user mode emulation -%ctest -- %{?qemu_user_space_build: -E googletest-port-test} +%ctest %{?qemu_user_space_build:--exclude-regex googletest-port-test} +%endif %endif %post -n gtest -p /sbin/ldconfig