Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to gtest 1.14 #27

Merged
merged 592 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
592 commits
Select commit Hold shift + click to select a range
88c5975
Add Windows CI script
dinord Oct 17, 2022
6d71d90
Merge pull request #4037 from KloolK:patch-1
copybara-github Oct 17, 2022
26d3ab5
Fix detection of the no_sanitize("hwaddress") attribute
derekmauro Oct 17, 2022
f372c76
Adds Win32 UNC path support to FilePath::IsAbsolutePath() and FilePat…
invalid-email-address Oct 18, 2022
6bad847
CMake: Add GTEST_HAS_ABSL build option for using Absl
invalid-email-address Oct 19, 2022
e07617d
Merge pull request #4036 from zloylos:fix-output-json-3884
copybara-github Oct 19, 2022
f3eb2b7
Allow naming expectations #3970
Oct 20, 2022
0d26378
Change messages
Oct 21, 2022
09e1c64
Fix format without expectation name
Oct 21, 2022
03597a0
Clarify that parameter generator does not evaluate immediately
invalid-email-address Oct 24, 2022
90171d1
Use git commit hash in CMake quickstart
dinord Oct 25, 2022
3026483
Merge pull request #4041 from zloylos:allow-naming-expectations
copybara-github Oct 25, 2022
66366ce
Add documentation for `--gunit_recreate_environments_when_repeating`.
invalid-email-address Nov 3, 2022
a4f02ef
Fix typo in documentation of ConvertGenerator()
invalid-email-address Nov 5, 2022
386c766
RecordProperty serializes ints and 64-bit ints, including size_ts
invalid-email-address Nov 7, 2022
6b63c98
Remove incorrect GTEST_ATTRIBUTE_UNUSED_ from InSequence class.
invalid-email-address Nov 8, 2022
44c0364
Merge pull request #4039 from zloylos:fix-return-fail-at-4038
copybara-github Nov 10, 2022
4b7f945
Support kitty TERM
Nov 10, 2022
912db74
Defined a testing::SrcDir() function that returns the name of a direc…
invalid-email-address Nov 11, 2022
9c990a7
fixing gcc.gnu domain redirection
hxm-cpp Nov 12, 2022
148ab82
hxm-cpp Nov 12, 2022
42c6f57
Merge pull request #4060 from RerEngineer:main
copybara-github Nov 14, 2022
0e6aac2
Merge pull request #4058 from zloylos:support-kitty-term
copybara-github Nov 14, 2022
4408a02
Remove incorrect usage of GTEST_ATTRIBUTE_UNUSED_ on classes.
invalid-email-address Nov 15, 2022
9c33214
When printing floating-point numbers, print full precision by default.
invalid-email-address Nov 16, 2022
834698c
Change MakeUnique -> std::make_unique in docs
Nov 20, 2022
519beb0
Merge pull request #4066 from zloylos:doc/make_uniq
copybara-github Nov 21, 2022
e68764c
This commit fixes a minor verb conjugation error in gmock_cook_book.md.
invalid-email-address Nov 23, 2022
a16bfcf
Disables `-Wunused-member-function` and `-Wused-but-marked-unused` th…
invalid-email-address Nov 29, 2022
1f643f7
Make SizeIsMatcher::Impl conform to the contract of MatcherDescriberI…
invalid-email-address Nov 30, 2022
97459e5
Remove the unused class TestNameIs
derekmauro Dec 6, 2022
d454936
Migrate GoogleTest to a bug report template and add a link to the dis…
derekmauro Dec 7, 2022
516940f
Fall back to the system clock when building with newlib on a system w…
thughes Dec 8, 2022
b0846aa
Introduces a new porting flag (GTEST_HAS_FILE_SYSTEM) to indicate whe…
invalid-email-address Dec 12, 2022
ad54e90
Refactor matrix verification into VerifyMatchMatrix.
invalid-email-address Dec 12, 2022
e38ef3b
Convert feature requests to a form
derekmauro Dec 12, 2022
41fe6be
Fix a typo in the gMock sample code for Defining a Custom Matcher Class.
invalid-email-address Dec 14, 2022
3fa7f98
Shut up a Clang warning.
invalid-email-address Dec 15, 2022
a4e0be8
Specify a name for a `Property` in a code example.
invalid-email-address Dec 19, 2022
b3bfebd
Comment that q0_ in primer should remain empty
dinord Dec 20, 2022
5ab508a
Fix a typo in the documentation for "Using Predicates as Matchers".
invalid-email-address Dec 20, 2022
71140c3
Use a more recent commit of googletest that uses OS constraints from
invalid-email-address Dec 22, 2022
ab669ca
Fix warnings with nvc++ as the compiler
gonzalobg Dec 28, 2022
3a99ab6
Fix _MSC_VER check
thughes Jan 4, 2023
64e0945
Fix typos found by codespell
SunBlack Jan 4, 2023
0296d7d
Workaround for GCC12 bug illustrated by https://godbolt.org/z/Pe5aE59xG
derekmauro Jan 4, 2023
e5e46b0
IWYU: Add missing std includes
thughes Jan 5, 2023
9345421
Fix GTEST_OS_ESP8266 check
thughes Jan 5, 2023
a652ae0
Update GoogleTest dependencies
derekmauro Jan 11, 2023
b5401fe
Add an explicit #error that C++ versions less than C++14 are not supp…
derekmauro Jan 12, 2023
356fc30
Fix -Wshadow warnings
thughes Jan 12, 2023
ac7a126
gmock_output_test: normalize golden file output to unix line endings
invalid-email-address Jan 17, 2023
b796f7d
Bump version to 1.13.0 in preparation for release
derekmauro Jan 17, 2023
9d697cc
Update documentation for v1.13.0
derekmauro Jan 17, 2023
5cd81a7
Fix -Wimplicit-int-float-conversion warning
thughes Jan 17, 2023
bba28fa
Announce that GitHub actions are not GoogleTest's canonical CI
dinord Jan 17, 2023
bdb3b0a
Replace deprecated python calls
thughes Jan 17, 2023
ec25eea
Mention using MockFunction as a way to mock free functions.
invalid-email-address Jan 18, 2023
544c96e
Remove FloatingPoint::Max() in favor of std::numeric_limits::max()
derekmauro Jan 24, 2023
408471e
Fix formatting of Markdown files
thughes Jan 24, 2023
2491710
Fix formatting of C++ files
thughes Jan 24, 2023
6c65a1c
Replace numeric lints with their string equivalent
thughes Jan 25, 2023
d1ad27e
Fix formatting in subset of Python files
thughes Jan 25, 2023
643862d
Mention `DescribeMatcher` in matchers.md
invalid-email-address Jan 25, 2023
137dcd1
Remove pylint disable comments that no longer trigger warnings
thughes Jan 25, 2023
f47d75f
Fix pylint warning
thughes Jan 25, 2023
b495f72
Use more specific assertLess instead of assertTrue
thughes Jan 25, 2023
4b4c56a
Make document and example code more clear in the caveat section for p…
invalid-email-address Jan 26, 2023
0194f90
Fix Python docstrings to match style guide
thughes Jan 26, 2023
403a968
Fix formatting in Python files
thughes Jan 26, 2023
b722020
Test current behavior of doubles and floats in RecordProperty
thughes Jan 27, 2023
e3dbee4
Merge pull request #4115 from SunBlack:codespell
copybara-github Jan 30, 2023
f1c05d4
Use explicit short to fix MSVC compiler warning
thughes Jan 30, 2023
4fb7039
Use GTEST_DISABLE_MSC_WARNINGS macros to disable warnings
thughes Jan 30, 2023
d925117
Fix sign conversion warning from clang:
thughes Jan 31, 2023
0a3b403
Fix gmock_output_test when using MSVC
thughes Feb 1, 2023
fd36851
Build gmock Python tests when building with cmake
thughes Feb 1, 2023
394a8a5
Remove GMOCK_RENAME_MAIN
thughes Feb 1, 2023
ebedaa1
Fix include order
thughes Feb 1, 2023
6f21175
Add a trailing decimal point to FormatTimeInMillisAsSeconds() output …
invalid-email-address Feb 2, 2023
4f7c63d
Remove unneccessary "#if _MSC_VER"
thughes Feb 2, 2023
deaf561
Fix -Wsign-conversion warnings
thughes Feb 2, 2023
2f2e72b
Fix compiler flags in Linux presubmit
thughes Feb 2, 2023
3f9c7fc
Update testing.md
iwsfutcmd Feb 2, 2023
3d568bd
Add support for the alternative base64 encoding in RFC 4648 section 5…
invalid-email-address Feb 6, 2023
ee33b34
Fix GTEST_HAS_ABSL define check for [-Werror=undef] compilations
martijnvels Feb 7, 2023
0570e2d
Remove GTEST_USES_PCRE references
thughes Feb 7, 2023
b73f27f
Fix _MSC_VER check
thughes Feb 8, 2023
097f64e
Revert "Fix gmock_output_test when using MSVC"
lygstate Feb 9, 2023
b80a07f
Avoid reliance on <any> header without RTTI on MSVC
invalid-email-address Feb 13, 2023
2057566
Remove some filesystem APIs and tests under !GTEST_HAS_FILE_SYSTEM
invalid-email-address Feb 14, 2023
f063cd2
Remove strdup usage
invalid-email-address Feb 15, 2023
7a7231c
Fix link in ReportUninterestingCall message
invalid-email-address Feb 16, 2023
fe5b7ef
Set CMP0069 policy to avoid warnings
dpogue Feb 18, 2023
810fb81
Fix typo
VuPhamVan Feb 19, 2023
750d67d
Remove int64_t cast in RecordProperty
thughes Feb 21, 2023
10493e3
Fix error in_death_test_child_process: undeclared identifier
sergio-nsk Feb 21, 2023
d9a4bbc
Update googletest's test docker containers
dinord Feb 22, 2023
39a26e1
Avoid redundant declaration of static constexpr members in c++17
dinord Feb 22, 2023
d0ba3cc
Added a missing semicolon for GTEST_FLAG_SET code snippet.
invalid-email-address Feb 23, 2023
3d787f5
Add `const` qualifier to `gtest_sentinel` which doesn't change.
invalid-email-address Feb 24, 2023
95d8c7a
Reformat to current g3doc style guide. No content changes.
invalid-email-address Feb 27, 2023
2ce822a
Merge pull request #4143 from iwsfutcmd:patch-1
copybara-github Feb 27, 2023
6882aa0
Reorder printers list.
pl98 Feb 27, 2023
c7d0bc8
Merge pull request #4164 from sergio-nsk:patch-2
copybara-github Feb 27, 2023
8aa75fa
Eliminate argv list action parameter.
invalid-email-address Feb 28, 2023
6f1c4b3
Fixes the test gmock_output_test.py with MSVC
lygstate Nov 24, 2022
555486f
Rephrase the description of TEST_F() arguments for clarity.
invalid-email-address Feb 28, 2023
2d4f208
Merge pull request #4158 from VuPhamVan:main
copybara-github Feb 28, 2023
cead3d5
Internal Code Change
invalid-email-address Mar 3, 2023
2314284
Use "#ifdef GTEST_OS_..." instead of "#if GTEST_OS_..."
thughes Mar 3, 2023
a08c03c
Always specify definitions for internal macros
thughes Mar 3, 2023
7b1ced0
Only define GTEST_IS_THREADSAFE to 1, not 0
thughes Mar 3, 2023
dc10c3b
Use "#ifdef" with public macros
thughes Mar 4, 2023
16feffa
Replace "#if GTEST_HAS_ABSL" with "#ifdef GTEST_HAS_ABSL"
thughes Mar 4, 2023
0bdd450
Remove GTEST_FOR_GOOGLE_ macro
thughes Mar 4, 2023
2ddba26
Always specify definitions for internal macros
thughes Mar 4, 2023
d92a270
Fix compilation with -Wundef.
thughes Mar 4, 2023
e1ee0fa
Fix indentation syntax error in feature request issue template
dinord Mar 6, 2023
92f0d72
__cpp_char8_t does not cover std::u8string implementation, but __cpp_…
venik Mar 7, 2023
1a727c2
Internal Code Change
invalid-email-address Mar 7, 2023
cf4f440
Suppress std::string DLL interface warning introduced in commit f063c…
invalid-email-address Mar 7, 2023
678c1c7
Fix compilation of googletest-printers-test.cc when using -Wundef
thughes Mar 7, 2023
a798c2f
Add -Wundef to the CI scripts when building with Bazel
thughes Mar 7, 2023
82a5704
Apply clang-tidy fixes
invalid-email-address Mar 8, 2023
48a1b11
Add a comment to clarify Fuchsia process launcher requirement.
invalid-email-address Mar 8, 2023
50e07d1
Apply clang-tidy fixes
invalid-email-address Mar 9, 2023
2d3b36d
Environment variables are accessible in UWP/WinRT apps
sergio-nsk Mar 2, 2023
038e392
[gtest] Drop custom-rolled heterogeneous comparator functors in favor…
lwolfsonkin Mar 10, 2023
391ce62
Internal Code Change
invalid-email-address Mar 11, 2023
abad8af
Add COMPONENT to install
Mizzrym1 Mar 14, 2023
f53219c
Move transitive dependencies of googletest to googletest_deps.bzl to …
deannagarcia Mar 16, 2023
e49c6b9
Merge pull request #4180 from sergio-nsk:patch-3
copybara-github Mar 16, 2023
837f222
Merge pull request #4182 from venik:venik-char8-lib-fix
copybara-github Mar 17, 2023
28219b1
Fix typo in test case name.
invalid-email-address Mar 19, 2023
9fd3fb0
Remove unused using-declarations in sample unit tests
invalid-email-address Mar 20, 2023
471087f
Introduce std::make_unique and bool literals where possible
invalid-email-address Mar 20, 2023
3288c4d
Revise documentation to include AbslStringify
pl98 Mar 20, 2023
fa87209
Merge pull request #4157 from dpogue:patch-1
copybara-github Mar 20, 2023
e9faae1
Internal Code Change
invalid-email-address Mar 21, 2023
974e18e
Fix minor bug -- if ExecDeathTestChildMain() ever returns, we should …
invalid-email-address Mar 21, 2023
5fce130
gtest.cc: add a newline after a failure when there is no OS stack trace.
jacobsa Mar 23, 2023
5d6ba6d
Add doc comment
gonzalobg Mar 23, 2023
6f01e3d
Internal Code Change
invalid-email-address Mar 23, 2023
a0ced33
Internal Code Change
invalid-email-address Mar 24, 2023
e9fb5c7
Replace `const char*` with `absl::string_view` as the latter is prefe…
invalid-email-address Mar 24, 2023
88af49e
Migrate CI builds to MSVC 2022
derekmauro Mar 27, 2023
13b1900
Remove the Win64 arch from the CMake Generator since
derekmauro Mar 28, 2023
3656c27
Fix redundant redeclaration warning
derekmauro Mar 28, 2023
ca0d46e
Merge pull request #4103 from gonzalobg:bugfix/nvcxx_support
copybara-github Mar 28, 2023
0cd05c6
Update naming to "GoogleTest" in the GoogleTest Primer.
invalid-email-address Mar 29, 2023
b5fd99b
gtest.cc: run tests within a test suite in a deterministic order.
jacobsa Mar 30, 2023
7ee260c
Rolled back due to breaking existing tests.
invalid-email-address Apr 3, 2023
057b4e9
gtest.cc: run tests within a test suite in a deterministic order.
invalid-email-address Apr 5, 2023
7f6f9c1
Support --gtest_stream_result_to on macOS
invalid-email-address Apr 11, 2023
8fa9461
Fix FunctionMocker compilation slowdown in 9d21db9e0a60a1ea61ec19331c…
invalid-email-address Apr 11, 2023
12a5852
Merge pull request #3993 from pgroke-dt:work-around-GCC-11-ADL-bug
copybara-github Apr 12, 2023
952560d
Suppress a clang-tidy warning in the MATCHER_P macro
jerylvaz Apr 14, 2023
922e0b7
Update gMock Cookbook to reflect deprecation of testing::ByMove
invalid-email-address Apr 17, 2023
d25e625
Merge pull request #4219 from jerylvaz:main
copybara-github Apr 17, 2023
01bcf8c
Make parameter names in function declaration match the names in the
thughes Apr 20, 2023
d8a5fb7
Add missing std includes
thughes Apr 20, 2023
d7fb5e1
Fix spelling
thughes Apr 20, 2023
9c1efac
Use std::make_unique
thughes Apr 20, 2023
a5308bb
Add missing std includes
thughes Apr 20, 2023
baf182e
Use the empty method to check for emptiness
thughes Apr 21, 2023
783d00f
Use '=default' to define trivial constructor/destructors
thughes Apr 21, 2023
51eeae5
gmock: fix issue #4222
pgawro Apr 24, 2023
ccdeec8
Merge pull request #4225 from TurboGawron:non_moveable_struct_fix
copybara-github Apr 25, 2023
97408ca
Fix spelling
Vertexwahn Apr 25, 2023
dea0484
Use Abseil Flag public API for flag parsing.
invalid-email-address Apr 26, 2023
0bdaac5
Add qualifier to avoid argument dependent lookup
thughes Apr 28, 2023
797b0ad
Use GTEST_INTERNAL_CPLUSPLUS_LANG instead of __cplusplus
dinord Apr 28, 2023
f345b2c
Merge pull request #4227 from Vertexwahn:fix-spelling
copybara-github May 1, 2023
76bce79
Merge branch 'main' into fixes_std_pair_diff
asoffer May 1, 2023
a358018
Merge pull request #4146 from lygstate:fixes_std_pair_diff
copybara-github May 2, 2023
bc860af
This trips up when compiling with -Wvla otherwise.
invalid-email-address May 5, 2023
a7fa9b3
Update README.md
yagneshprajapati May 7, 2023
0eb33cf
Add missing absl dependency from build.
May 8, 2023
88295d6
Update README.md
yagneshprajapati May 11, 2023
7345a66
Update README.md
yagneshprajapati May 11, 2023
a8e067a
Update README.md
yagneshprajapati May 11, 2023
bb2941f
Give CreateArgvFromArgs internal linkage
invalid-email-address May 11, 2023
e42cc22
Merge pull request #4234 from pateldeev:missing_dep
copybara-github May 15, 2023
60c3602
Merge pull request #4231 from yagneshprajapati:main
copybara-github May 15, 2023
d6fb5e3
Explicitly document googletest release tag format
dinord May 16, 2023
cb455a7
Fix typo in version number example in README
dinord May 17, 2023
aa99ce5
Add CXX_STANDARD_REQUIRED to CMake quickstart
shlomnissan May 21, 2023
4580469
Merge pull request #4250 from shlomnissan:cmake-quickstart-update
copybara-github May 22, 2023
e032d57
Build googletest with IntelLLVM compilers.
niranjan-nilakantan May 24, 2023
029d3dd
Disable some warnings for IntelLLVM on Windows.
niranjan-nilakantan May 25, 2023
ded275d
fix README table
pratyush3757 May 30, 2023
f625681
Merge pull request #4256 from niranjan-nilakantan:niranjan-nilakantan…
copybara-github May 30, 2023
a7833a1
Update GoogleTest to RE2 release `2023-06-01`.
junyer May 31, 2023
04cf298
Provide example for setting C++ language standard in GoogleTest's Baz…
dinord May 31, 2023
06f44bc
Copy supported platforms from README onto https://google.github.io/go…
dinord Jun 1, 2023
a5b94f6
Ignore the .cache directory create by VSCode.
niranjan-nilakantan Jun 1, 2023
ad1b28b
Merge branch 'google:main' into readme_table_fix
pratyush3757 Jun 1, 2023
5ca3ab8
change table to unordered list
pratyush3757 Jun 1, 2023
001f281
Check for file system for current directory
elupus Jun 2, 2023
23f642a
Merge pull request #4260 from pratyush3757:readme_table_fix
copybara-github Jun 5, 2023
334704d
Merge pull request #4269 from elupus:patch-3
copybara-github Jun 6, 2023
65cfeca
internal g3doc documentation change.
invalid-email-address Jun 9, 2023
e907816
Merge pull request #4188 from Mizzrym1:component
copybara-github Jun 12, 2023
4c7aee8
Skip entire test suite with `GTEST_SKIP()` in `SetUpTestSuite`
dinord Jun 14, 2023
18fa6a4
Allow clients to un-suppress output from gUnit EXPECT_EXIT tests.
invalid-email-address Jun 15, 2023
148b327
Update README.md
zencatalyst Jun 16, 2023
9b12f74
Merge pull request #4267 from niranjan-nilakantan:niranjan-nilakantan…
copybara-github Jun 16, 2023
124bc58
Change C++11 requirement to C++14
ryandesign Jun 19, 2023
4fed5f2
cmake: Raise min to 3.6
juan-lunarg Jun 19, 2023
6c08816
Merge pull request #4286 from ryandesign:patch-1
copybara-github Jun 20, 2023
2983697
Merge pull request #4288 from juan-lunarg:juan/cmake_min_3_dot_6
copybara-github Jun 20, 2023
5924e5b
Merge pull request #4282 from zencatalyst:patch-1
copybara-github Jun 20, 2023
efd8db1
cmake: Clean up policy code
juan-lunarg Jun 20, 2023
fb11778
Merge pull request #4290 from juan-lunarg:juan/cmake_version_cleanup
copybara-github Jun 20, 2023
812f35b
cmake: Remove remaining checks for CMAKE_VERSION
juan-lunarg Jun 21, 2023
af39146
Merge pull request #4293 from juan-lunarg:juan/fix_remaining_cmake_ve…
copybara-github Jun 21, 2023
ec4fed9
Update code examples in the gMock Cookbook following C++ best practices.
invalid-email-address Jun 22, 2023
1361c77
Fix typo in googletest-catch-exceptions-test.py
eltociear Jun 22, 2023
e3d405f
add support for nxp qn9090 mcu
ciband Jun 22, 2023
b2a2d36
Merge branch 'google:main' into feat/qn9090
ciband Jun 22, 2023
372e81d
Merge pull request #4301 from ciband:feat/qn9090
copybara-github Jun 26, 2023
8e32de8
Merge pull request #4300 from eltociear:patch-1
copybara-github Jun 27, 2023
091d7eb
add support for nrf52
ciband May 11, 2023
f269e15
Resolve an issue where the resolution of `operator<<` overloads would…
invalid-email-address Jun 27, 2023
2acd538
On platforms without a file system, don't log an error when no
derekmauro Jun 28, 2023
687c589
Print stack traces on SEH exceptions on Windows
invalid-email-address Jun 28, 2023
251e720
Change `::testing` to `testing` in Testing Reference doc
invalid-email-address Jun 29, 2023
1f531be
Make GoogleTest handle SEH exceptions before stack unwinding rather t…
invalid-email-address Jun 30, 2023
be03d00
Fix C++20 compatibility bug.
mkruskal-google Jul 1, 2023
3044657
Use template type FloatType in the cast.
smr99 Jul 4, 2023
4a1a299
Update docstring of PrintWithFallback(..) to reflect the recently cha…
invalid-email-address Jul 7, 2023
c88e0b4
Fixed variables that could be declared 'const'
kimvaleen Jul 11, 2023
cc36671
Merge pull request #4308 from smr99:fix-float-cast
copybara-github Jul 11, 2023
c541e7c
Merge pull request #4302 from ciband:feat/nrf52
copybara-github Jul 18, 2023
d66ce58
Merge pull request #4313 from kimvaleen:main
copybara-github Jul 18, 2023
f014396
Fix typo in gmock_cook_book.md
mrfeod Jul 19, 2023
1ed6a8c
Remove unused cast implementation
derekmauro Jul 19, 2023
01e1837
Make `AbslStringify` usage public in GoogleTest
invalid-email-address Jul 21, 2023
40412d8
Merge pull request #4317 from mrfeod:patch-1
copybara-github Jul 24, 2023
c875c4e
Adjust includes to use <> instead of "", consistent with quickstart p…
invalid-email-address Jul 28, 2023
efe6bb1
Use #if and not #ifdef to check filesystem support
juliencombattelli Jul 27, 2023
6f6ab42
Merge pull request #4325 from juliencombattelli:main
copybara-github Jul 31, 2023
717d8ab
Update GoogleTest dependencies
derekmauro Aug 1, 2023
e7fd109
Make testing::Message support streamed AbslStringify values
pl98 Aug 1, 2023
58e37f7
Add googletest-message-test to the Bazel tests
derekmauro Aug 2, 2023
96683ee
Remove the GTEST_HAS_DOWNCAST_ customization point.
derekmauro Aug 2, 2023
f8d7d77
Bump version to v1.14 in preparation for release
derekmauro Aug 2, 2023
a474223
Merge tag 'v1.14.0' into clalancette/update-to-1.14
clalancette Jan 18, 2024
27c4483
Update to 1.14.9000
clalancette Jan 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 0 additions & 43 deletions .github/ISSUE_TEMPLATE/00-bug_report.md

This file was deleted.

53 changes: 53 additions & 0 deletions .github/ISSUE_TEMPLATE/00-bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Bug Report
description: Let us know that something does not work as expected.
title: "[Bug]: Please title this bug report"
body:
- type: textarea
id: what-happened
attributes:
label: Describe the issue
description: What happened, and what did you expect to happen?
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to reproduce the problem
description: It is important that we are able to reproduce the problem that you are experiencing. Please provide all code and relevant steps to reproduce the problem, including your `BUILD`/`CMakeLists.txt` file and build commands. Links to a GitHub branch or [godbolt.org](https://godbolt.org/) that demonstrate the problem are also helpful.
validations:
required: true
- type: textarea
id: version
attributes:
label: What version of GoogleTest are you using?
description: Please include the output of `git rev-parse HEAD` or the GoogleTest release version number that you are using.
validations:
required: true
- type: textarea
id: os
attributes:
label: What operating system and version are you using?
description: If you are using a Linux distribution please include the name and version of the distribution as well.
validations:
required: true
- type: textarea
id: compiler
attributes:
label: What compiler and version are you using?
description: Please include the output of `gcc -v` or `clang -v`, or the equivalent for your compiler.
validations:
required: true
- type: textarea
id: buildsystem
attributes:
label: What build system are you using?
description: Please include the output of `bazel --version` or `cmake --version`, or the equivalent for your build system.
validations:
required: true
- type: textarea
id: additional
attributes:
label: Additional context
description: Add any other context about the problem here.
validations:
required: false
24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/10-feature_request.md

This file was deleted.

33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/10-feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Feature request
description: Propose a new feature.
title: "[FR]: Please title this feature request"
labels: "enhancement"
body:
- type: textarea
id: version
attributes:
label: Does the feature exist in the most recent commit?
description: We recommend using the latest commit from GitHub in your projects.
validations:
required: true
- type: textarea
id: why
attributes:
label: Why do we need this feature?
description: Ideally, explain why a combination of existing features cannot be used instead.
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Describe the proposal.
description: Include a detailed description of the feature, with usage examples.
validations:
required: true
- type: textarea
id: platform
attributes:
label: Is the feature specific to an operating system, compiler, or build system version?
description: If it is, please specify which versions.
validations:
required: true
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Get Help
url: https://github.com/google/googletest/discussions
about: Please ask and answer questions here.
43 changes: 43 additions & 0 deletions .github/workflows/gtest-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: ci

on:
push:
pull_request:

env:
BAZEL_CXXOPTS: -std=c++14

jobs:
Linux:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Tests
run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ...

macOS:
runs-on: macos-latest
steps:

- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Tests
run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ...


Windows:
runs-on: windows-latest
steps:

- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Tests
run: bazel test --cxxopt=/std:c++14 --features=external_include_paths --test_output=errors ...
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ Win32-Release/
x64-Debug/
x64-Release/

# VSCode files
.cache/
cmake-variants.yaml

# Ignore autoconf / automake files
Makefile.in
aclocal.m4
Expand Down
33 changes: 31 additions & 2 deletions BUILD.bazel.upstream
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,32 @@
#
# Bazel Build for Google C++ Testing Framework(Google Test)

load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")

package(default_visibility = ["//visibility:public"])

licenses(["notice"])

exports_files(["LICENSE"])

config_setting(
name = "qnx",
constraint_values = ["@platforms//os:qnx"],
)

config_setting(
name = "windows",
constraint_values = ["@platforms//os:windows"],
)

config_setting(
name = "freebsd",
constraint_values = ["@platforms//os:freebsd"],
)

config_setting(
name = "openbsd",
constraint_values = ["@platforms//os:openbsd"],
)

config_setting(
name = "msvc_compiler",
flag_values = {
Expand Down Expand Up @@ -86,6 +99,7 @@ cc_library(
"googlemock/include/gmock/*.h",
]),
copts = select({
":qnx": [],
":windows": [],
"//conditions:default": ["-pthread"],
}),
Expand All @@ -104,18 +118,33 @@ cc_library(
"googletest/include",
],
linkopts = select({
":qnx": ["-lregex"],
":windows": [],
":freebsd": [
"-lm",
"-pthread",
],
":openbsd": [
"-lm",
"-pthread",
],
"//conditions:default": ["-pthread"],
}),
deps = select({
":has_absl": [
"@com_google_absl//absl/container:flat_hash_set",
"@com_google_absl//absl/debugging:failure_signal_handler",
"@com_google_absl//absl/debugging:stacktrace",
"@com_google_absl//absl/debugging:symbolize",
"@com_google_absl//absl/flags:flag",
"@com_google_absl//absl/flags:parse",
"@com_google_absl//absl/flags:reflection",
"@com_google_absl//absl/flags:usage",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/types:any",
"@com_google_absl//absl/types:optional",
"@com_google_absl//absl/types:variant",
"@com_googlesource_code_re2//:re2",
],
"//conditions:default": [],
}),
Expand Down
15 changes: 5 additions & 10 deletions CMakeLists.txt.upstream
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
# Note: CMake support is community-based. The maintainers do not use CMake
# internally.

cmake_minimum_required(VERSION 2.8.12)

if (POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
endif (POLICY CMP0048)
cmake_minimum_required(VERSION 3.13)

project(googletest-distribution)
set(GOOGLETEST_VERSION 1.11.0)
set(GOOGLETEST_VERSION 1.14.0)

if (CMAKE_VERSION VERSION_GREATER "3.0.2")
if(NOT CYGWIN AND NOT MSYS AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL QNX)
set(CMAKE_CXX_EXTENSIONS OFF)
endif()
if(NOT CYGWIN AND NOT MSYS AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL QNX)
set(CMAKE_CXX_EXTENSIONS OFF)
endif()

enable_testing()
Expand All @@ -24,6 +18,7 @@ include(GNUInstallDirs)
#Note that googlemock target already builds googletest
option(BUILD_GMOCK "Builds the googlemock subproject" ON)
option(INSTALL_GTEST "Enable installation of googletest. (Projects embedding googletest may want to turn this OFF.)" ON)
option(GTEST_HAS_ABSL "Use Abseil and RE2. Requires Abseil and RE2 to be separately added to the build." OFF)

if(BUILD_GMOCK)
add_subdirectory( googlemock )
Expand Down
Loading
Loading