summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4308 from smr99:fix-float-castCopybara-Service2023-07-111-2/+2
|\ | | | | | | | | PiperOrigin-RevId: 547250378 Change-Id: I084c30e45f331cb296535822923da1cb7e848e11
| * Use template type FloatType in the cast.refs/pull/4308/headSteve Robbins2023-07-041-2/+2
| |
* | Update docstring of PrintWithFallback(..) to reflect the recently changed ↵Abseil Team2023-07-071-1/+1
|/ | | | | | | ordering. PiperOrigin-RevId: 546373360 Change-Id: I2538b45d8c7710592071cc352da6771480c324e6
* Fix C++20 compatibility bug.Mike Kruskal2023-07-013-8/+8
| | | | | | | | | This was shown to work for C++14, C++17, and C++20 after patched into googletest for the protobuf repo's CI. Closes #3659 PiperOrigin-RevId: 544795507 Change-Id: I3e0a94f675e78a6ee9aeccae86c23d940efed8eb
* Make GoogleTest handle SEH exceptions before stack unwinding rather than ↵Abseil Team2023-06-302-46/+27
| | | | | | | | | | | afterward This ensure the erroring stack frame is visible and accessible when the handler is invoked. Fixes #4298 PiperOrigin-RevId: 544692549 Change-Id: Ia165a8c293e8edc820da5f5ad4416546fffe2493
* Change `::testing` to `testing` in Testing Reference docAbseil Team2023-06-291-35/+35
| | | | | PiperOrigin-RevId: 544466397 Change-Id: Icb4d5fae38361cd75d47f908886831696eb2b1c9
* Print stack traces on SEH exceptions on WindowsAbseil Team2023-06-281-18/+21
| | | | | | | | | | | | Also tidies up a couple of things: - Prevent handling of stack overflows, which cannot be done safely - `exception_code` is a macro, so we rename it - The `std::string` heap allocation was unnecessary Fixes #4298 PiperOrigin-RevId: 544117790 Change-Id: I8ba61f87119d5fbdb1f653700d9867ca6f8c28ce
* On platforms without a file system, don't log an error when noDerek Mauro2023-06-281-2/+4
| | | | | | | | | alternative output format is requested. Fixes #4299 PiperOrigin-RevId: 543932266 Change-Id: Ide78c313ecf6829e4910f4a8407275c81edb3848
* Resolve an issue where the resolution of `operator<<` overloads would ↵Abseil Team2023-06-272-2/+20
| | | | | | | attempt to instantiate the incomplete `testing::internal::Secret` type. PiperOrigin-RevId: 543799815 Change-Id: Ic0a4f48d825bef26cb8cc74d8a0117b3a5ef3f14
* Merge pull request #4300 from eltociear:patch-1Copybara-Service2023-06-271-2/+2
|\ | | | | | | | | PiperOrigin-RevId: 543586460 Change-Id: I87ee05c4b77fb643a3381018568a4765d0a12b18
| * Fix typo in googletest-catch-exceptions-test.pyrefs/pull/4300/headIkko Eltociear Ashimine2023-06-221-2/+2
| | | | | | FITLER_OUT_SEH_TESTS_FLAG -> FILTER_OUT_SEH_TESTS_FLAG
* | Merge pull request #4301 from ciband:feat/qn9090Copybara-Service2023-06-263-3/+6
|\ \ | |/ |/| | | | | PiperOrigin-RevId: 543523833 Change-Id: I602373a321e2b8080264e3f418ef5b2254f615fb
| * Merge branch 'google:main' into feat/qn9090refs/pull/4301/headChris Johnson2023-06-2217-199/+151
| |\ | |/ |/|
* | Update code examples in the gMock Cookbook following C++ best practices.Abseil Team2023-06-221-22/+24
| | | | | | | | | | PiperOrigin-RevId: 542564354 Change-Id: Ia3307f13f845c662c88fb7303112f41ef8c56b28
* | Merge pull request #4293 from juan-lunarg:juan/fix_remaining_cmake_versionCopybara-Service2023-06-213-80/+37
|\ \ | | | | | | | | | | | | PiperOrigin-RevId: 542299863 Change-Id: I51cf4a4f8d6a97e39e6c46f48fa6acf3bd0ab6b5
| * | cmake: Remove remaining checks for CMAKE_VERSIONrefs/pull/4293/headJuan Ramos2023-06-213-78/+35
|/ / | | | | | | Remove conditional code that doesn't need to exist anymore.
* | Merge pull request #4290 from juan-lunarg:juan/cmake_version_cleanupCopybara-Service2023-06-203-26/+0
|\ \ | | | | | | | | | | | | PiperOrigin-RevId: 542045766 Change-Id: Ib6e0fffdbf1f41fb990603fe2af7c6d5df6b5640
| * | cmake: Clean up policy coderefs/pull/4290/headJuan Ramos2023-06-203-26/+0
|/ / | | | | | | | | | | | | | | | | | | Now that the min is 3.13 these policies don't need to be set manually anymore. CMP0054 - 3.1 CMP0063 - 3.3 CMP0069 - 3.9 CMP0077 - 3.13
* | Merge pull request #4282 from zencatalyst:patch-1Copybara-Service2023-06-201-4/+4
|\ \ | | | | | | | | | | | | PiperOrigin-RevId: 541940311 Change-Id: I953d347f0041dfcacc2bff9cc1b19e086fdd9ac4
| * | Update README.mdrefs/pull/4282/headKasra Hashemi2023-06-161-4/+4
| | | | | | | | | Fixed punctuation issues
* | | Merge pull request #4288 from juan-lunarg:juan/cmake_min_3_dot_6Copybara-Service2023-06-204-18/+8
|\ \ \ | | | | | | | | | | | | | | | | PiperOrigin-RevId: 541929012 Change-Id: I90423820611c2b6a6f81fe3f9ec2d23992ffbed1
| * | | cmake: Raise min to 3.6refs/pull/4288/headJuan Ramos2023-06-194-18/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the CMake 3.27 release notes: Compatibility with versions of CMake older than 3.5 is now deprecated and will be removed from a future version. Calls to cmake_minimum_required() or cmake_policy() that set the policy version to an older value now issue a deprecation diagnostic. This PR also removes manually setting policy CMP0048. This is redundant since the CMake min is already 3.X
* | | | Merge pull request #4286 from ryandesign:patch-1Copybara-Service2023-06-201-3/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | PiperOrigin-RevId: 541928566 Change-Id: I72437cb3a06f2af7220b247c6c136a38c5f1089c
| * | | Change C++11 requirement to C++14refs/pull/4286/headRyan Schmidt2023-06-191-3/+3
|/ / / | | | | | | | | | | | | Version 1.13.x and later require C++14. Also fix missing closing backtick.
* | | Merge pull request #4267 from niranjan-nilakantan:niranjan-nilakantan/issue4266Copybara-Service2023-06-161-0/+4
|\ \ \ | |/ / |/| | | | | | | | PiperOrigin-RevId: 540901148 Change-Id: Ifd4c4a6d37e9bf7ff63470be401f94d2bb530c22
| * | Ignore the .cache directory create by VSCode.refs/pull/4267/headNiranjan Nilakantan2023-06-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is populated by the clangd language service provider. Also ignore the cmake-variants.yaml file. This can be created locally to select various build/test configurations. Fixes #4266
* | | Allow clients to un-suppress output from gUnit EXPECT_EXIT tests.Abseil Team2023-06-154-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | This is useful for running individual tests in a separate process, which is useful for testing e.g. flag changes which have a process-global effect. PiperOrigin-RevId: 540580573 Change-Id: I18a5d24d79425a9d595be3369efc44e2f655f6f8
* | | Skip entire test suite with `GTEST_SKIP()` in `SetUpTestSuite`Dino Radakovic2023-06-143-4/+21
| | | | | | | | | | | | | | | | | | | | | Fixes #4273 PiperOrigin-RevId: 540254167 Change-Id: I2555740d10284223539035bf73f88554fcf73f8a
* | | Merge pull request #4188 from Mizzrym1:componentCopybara-Service2023-06-122-0/+6
|\ \ \ | | | | | | | | | | | | | | | | PiperOrigin-RevId: 539684886 Change-Id: Ie7f4175ad413fdb82d265374a4aca9fad23571f5
| * | | Add COMPONENT to installrefs/pull/4188/headMaciej Sroczyński2023-03-142-0/+6
| | | |
* | | | internal g3doc documentation change.Abseil Team2023-06-091-1/+1
| | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 539134110 Change-Id: I28041f77e18bc67aa0ffabdc7205e350deed22c8
* | | | Merge pull request #4269 from elupus:patch-3Copybara-Service2023-06-061-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 538253216 Change-Id: Ib4bc90974f92939f884d6b5927f8bf37aac4d2c7
| * | | | Check for file system for current directoryrefs/pull/4269/headJoakim Plate2023-06-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Check for current directory instead of death test to get original directory. A port may support filesystems but not death tests.
* | | | | Merge pull request #4260 from pratyush3757:readme_table_fixCopybara-Service2023-06-051-34/+33
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | PiperOrigin-RevId: 537887202 Change-Id: I4a52ec0da24f043eba0aa1a9d7945066c799ce8a
| * | | | change table to unordered listrefs/pull/4260/headPro37572023-06-011-34/+32
| | | | |
| * | | | Merge branch 'google:main' into readme_table_fixPratyush Choudhary2023-06-014-40/+30
| |\ \ \ \ | |/ / / / |/| | | |
| * | | | fix README tablePro37572023-05-301-23/+23
| | | | |
| | | | * add support for nxp qn9090 mcuChris Johnson2023-06-223-3/+6
| |_|_|/ |/| | | | | | | | | | | | | | | Added additional defines to correctly detect the NXP QN9090 MCU platform and allow for native googletest compability.
* | | | Copy supported platforms from README onto ↵Dino Radakovic2023-06-011-33/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | https://google.github.io/googletest/platforms.html PiperOrigin-RevId: 537016664 Change-Id: Ie62891a1061465a009b90feba0ccb91d85591160
* | | | Provide example for setting C++ language standard in GoogleTest's Bazel ↵Dino Radakovic2023-05-311-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | quickstart and readme. An equivalent for CMake was merged in https://github.com/google/googletest/commit/aa99ce5a0db4215bb8e2cda3ee68b6b8d4896815 Fixes #4254 PiperOrigin-RevId: 536759641 Change-Id: I8400064a24e0d78f17a0720046f505efa1167b4f
* | | | Update GoogleTest to RE2 release `2023-06-01`.Paul Wankadia2023-05-311-4/+4
| |_|/ |/| | | | | | | | | | | | | | | | | | | | Note that RE2 has taken a dependency on Abseil, so the `main` branch should be used from now on. The `abseil` branch will go away soon... PiperOrigin-RevId: 536737543 Change-Id: I0e595ee8e754b924881f997f286cdec3822763bf
* | | Merge pull request #4256 from niranjan-nilakantan:niranjan-nilakantan/issue4255Copybara-Service2023-05-301-2/+12
|\ \ \ | |/ / |/| | | | | | | | PiperOrigin-RevId: 536480185 Change-Id: I9bdd65cd18253703abf3cc92b3f354c1f798aa3e
| * | Disable some warnings for IntelLLVM on Windows.refs/pull/4256/headniranjan2023-05-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use /fp:precise to override IntelLLVM's default of /fp:fast. This makes IsInf and IsNan work as expected by googletest. ``` [build]...\googletest\googlemock\test\gmock-function-mocker_test.cc(143,21): error: 'VoidReturning' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override] [build] MOCK_METHOD(void, VoidReturning, (int n)); // NOLINT ``` ``` [build] ...\googletest\googlemock\test\gmock-function-mocker_test.cc(182,20): error: exception specification of overriding function is more lax than base version [-Werror,-Wmicrosoft-exception-spec] [build] MOCK_METHOD(int, CTNullary, (), (Calltype(STDMETHODCALLTYPE))); ``` ``` [build] ...\googletest\googletest\test\googletest-death-test-test.cc(209,5): error: unused function 'DieInCRTDebugElse12' [-Werror,-Wunused-function] [build] int DieInCRTDebugElse12(int* sideeffect) { [build] ^ ``` ``` [build] ...\googletest\googletest\test\gtest_unittest.cc(4096,7): error: variable 'n' set but not used [-Werror,-Wunused-but-set-variable] [build] int n = 0; ```
| * | Build googletest with IntelLLVM compilers.Niranjan Nilakantan2023-05-241-2/+8
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the same flags as Clang if the compiler id is IntelLLVM. IntelLLVM warns if a double constant is assigned to a float. ``` [build] .../googletest/googletest/include/gtest/gtest-printers.h:516:17: warning: implicit conversion between floating point types of different sizes [-Wimplicit-float-size-conversion] [build] mulfor6 = 1e1; ``` IntelLLVM uses fp-model=fast by default, breaking IsNan and IsInf tests. Use -ffp-model=precise to fix this. IntelLLVM does not support -Wchar-subscripts Fixes #4255
* | Merge pull request #4250 from shlomnissan:cmake-quickstart-updateCopybara-Service2023-05-222-4/+5
|\ \ | | | | | | | | | | | | PiperOrigin-RevId: 534150776 Change-Id: Ib6c07c6abd06c259494928102e2cb800b6652612
| * | Add CXX_STANDARD_REQUIRED to CMake quickstartrefs/pull/4250/headShlomi Nissan2023-05-212-4/+5
|/ /
* | Fix typo in version number example in READMEDino Radakovic2023-05-171-1/+1
| | | | | | | | | | PiperOrigin-RevId: 532796425 Change-Id: If81029216cf12b9b05f8e2d79671ba106ebd28fb
* | Explicitly document googletest release tag formatDino Radakovic2023-05-161-0/+2
| | | | | | | | | | | | | | Fixes #4235 PiperOrigin-RevId: 532446854 Change-Id: If7e1dade02a80d9a30813c136bba3f20c796f0fa
* | Merge pull request #4231 from yagneshprajapati:mainCopybara-Service2023-05-151-12/+34
|\ \ | | | | | | | | | | | | PiperOrigin-RevId: 532204016 Change-Id: Ifa309f31bb959b43faa54c5ce631a823e6a2888a
| * | Update README.mdrefs/pull/4231/headyagneshprajapati2023-05-111-1/+0
| | | | | | | | | xml report gan removed