googletest
googletest copied to clipboard
GoogleTest - Google Testing and Mocking Framework
### Describe the issue clang-tidy produces a diagnostic for code in the expansion of the TEST() macro ### Steps to reproduce the problem 1. Install latest googletest trunk 2. Create...
Add -DGTEST_HAS_PTHREAD=0/1 compiler flag to GTest::* CMake targets as pkg-config do. Using CMake find_package my code compiled & linked smoothly but SIGSEGV when executed. Setting macro in CMAKE_CXX_FLAGS fixed it....
- Added the support for Texas Instruments CGT compilation to run on TI targets Signed-Off-By: Pradeep HN
### Describe the issue Same error as #3266, different cause (*probably*, if I read the entrails of #3266 right). ### Steps to reproduce the problem Build gtest code in MSVC2022...
### Describe the issue When using `nvcc` (for compiling on NVidia GPUs), it is not possible to create lambdas withing the test body because `::testing::Test::TestBody` is `private` (e.g. when using...
Just as below test code, the expected total part count is 4, but actual is 0: ``` class MinimalistPrinter : public ::testing::EmptyTestEventListener { // Called before a test starts. virtual...
Signed-off-by: Yonggang Luo
Fixes uncolored output on Windows PowerShell with CTest (#2930) Fixes uncolored output on GitHub and other Windows terminals. CTest writes googlest standard output and error streams to standard output and...