Sync from SUSE:SLFO:Main googletest revision e8bf1cf836d76e42a340a09193e81a58

This commit is contained in:
Adrian Schröter 2024-09-30 10:41:49 +02:00
parent 66444d2a3f
commit 9c94288c85
4 changed files with 74 additions and 12 deletions

BIN
googletest-1.15.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
googletest-release-1.12.1.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -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 <schwab@suse.de>
- avoid extra '--' which newer ctests don't like anymore
-------------------------------------------------------------------
Fri Jul 5 09:31:26 UTC 2024 - Dirk Müller <dmueller@suse.com>
- avoid extra '--' which newer ctests don't like anymore
-------------------------------------------------------------------
Tue Mar 12 16:43:25 UTC 2024 - Takashi Iwai <tiwai@suse.com>
- Exclude test for 32bit x86 that is broken for now
-------------------------------------------------------------------
Fri Mar 8 18:32:03 UTC 2024 - Richard Rahl <rrahl0@proton.me>
- 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 <andrea.manzini@suse.com>
- 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 <dmueller@suse.com> Thu Oct 6 13:58:58 UTC 2022 - Dirk Müller <dmueller@suse.com>
@ -32,7 +92,7 @@ Wed Jan 5 09:15:53 UTC 2022 - Dirk Müller <dmueller@suse.com>
* Uninstantiated TEST_P and TYPED_TEST_P now fail unless allowlisted using * Uninstantiated TEST_P and TYPED_TEST_P now fail unless allowlisted using
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST
* new matchers and mocking behavior, see * 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 <mcepl@suse.com> Mon May 17 17:35:26 UTC 2021 - Matej Cepl <mcepl@suse.com>
@ -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 Sat Jul 9 07:29:10 UTC 2011 - ftake@geeko.jp
- Initial import - Initial import
* Upstream version: 1.6.0 * Upstream version: 1.6.0

View File

@ -1,7 +1,7 @@
# #
# spec file for package googletest # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -24,16 +24,16 @@
%define _name googlemock %define _name googlemock
Name: googletest Name: googletest
Version: 1.12.1 Version: 1.15.2
Release: 0 Release: 0
Summary: Google C++ Testing Framework Summary: Google C++ Testing Framework
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: https://github.com/google/googletest 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 Source1: googletest-rpmlintrc
BuildRequires: cmake >= 3.5.0 BuildRequires: cmake >= 3.10.0
BuildRequires: gcc-c++ BuildRequires: gcc-c++ >= 7.3.1
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python3 BuildRequires: python3
BuildRequires: pkgconfig(pthread-stubs) BuildRequires: pkgconfig(pthread-stubs)
@ -80,7 +80,7 @@ This package provides shared libraries and header files for development
with googlemock. with googlemock.
%prep %prep
%setup -q -n %{name}-release-%{version} %autosetup
%build %build
%global optflags %(echo "%{optflags} -Wno-infinite-recursion -Wno-deprecated-declarations") %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 %check
%if %{with tests} %if %{with tests}
%ifnarch %ix86
# googletest-port-test is checking the threadcount which is incorrect under user mode emulation # 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 %endif
%post -n gtest -p /sbin/ldconfig %post -n gtest -p /sbin/ldconfig