- 30 Mar, 2019 1 commit
-
-
Enji Cooper authored
gtest prior to this change would completely ignore `GTEST_SKIP()` if called in `Environment::SetUp()`, instead of bailing out early, unlike `Test::SetUp()`, which would cause the tests themselves to be skipped. The only way (prior to this change) to skip the tests would be to trigger a fatal error via `GTEST_FAIL()`. Desirable behavior, in this case, when dealing with `Environment::SetUp()` is to check for prerequisites on a system (example, kernel supports a particular featureset, e.g., capsicum), and skip the tests. The alternatives prior to this change would be undesirable: - Failing sends the wrong message to the test user, as the result of the tests is indeterminate, not failed. - Having to add per-test class abstractions that override `SetUp()` to test for the capsicum feature set, then skip all of the tests in their respective SetUp fixtures, would be a lot of human and computational work; checking for the feature would need to be done for all of the tests, instead of once for all of the tests. For those reasons, making `Environment::SetUp()` handle `GTEST_SKIP()`, by not executing the testcases, is the most desirable solution. In order to properly diagnose what happened when running the tests if they are skipped, print out the diagnostics in an ad hoc manner. Update the documentation to note this change and integrate a new test, gtest_skip_in_environment_setup_test, into the test suite. This change addresses #2189. Signed-off-by:Enji Cooper <yaneurabeya@gmail.com>
-
- 11 Feb, 2019 1 commit
-
-
Knut Omang authored
Signed-off-by:Knut Omang <knut.omang@oracle.com>
-
- 29 Oct, 2018 1 commit
-
-
misterg authored
Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 219129336
-
- 26 Oct, 2018 2 commits
-
-
Abseil Team authored
Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 218618184
-
misterg authored
Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 218571466
-
- 09 Oct, 2018 1 commit
-
-
Abseil Team authored
Remove all mention of TR1 tuple and our own implementation of tuple. PiperOrigin-RevId: 216395043
-
- 02 Oct, 2018 2 commits
-
-
Matthieu authored
Closes #1836 PiperOrigin-RevId: 215461025
-
Arseny Aprelev authored
Closes #1544 With refinements and changes PiperOrigin-RevId: 215273083
-
- 13 Sep, 2018 2 commits
- 24 Aug, 2018 1 commit
-
-
Dakota Hawkins authored
To make sure packages are relocatable, use `$<INSTALL_PREFIX>` in `$<INSTALL_INTERFACE:...>` `target_include_directories`. `$<INSTALL_PREFIX>` was introduced in CMake 2.8.11, which is already being checked for locally. References: - https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#id19 - https://github.com/robotology/how-to-export-cpp-library/blob/claudio/headeronly/src/LibTemplateCMake/CMakeLists.txt#L42 Signed-off-by:
Dakota Hawkins <dakotahawkins@gmail.com>
-
- 22 Aug, 2018 1 commit
-
-
Stefano Soffia authored
Rework of the closed pull request #768
-
- 21 Aug, 2018 1 commit
-
-
Dakota Hawkins authored
I _think_ this represents some of the "best practices" for exporting targets. They'll be available in a `googletest::` namespace (e.g. `googletest::gmock`) with non-namespaced `ALIAS` targets. - Added GOOGLETEST_VERSION variable - Use `CMakePackageConfigHelpers`, bump minimum CMake version to 2.8.8 Signed-off-by:Dakota Hawkins <dakotahawkins@gmail.com>
-
- 13 Aug, 2018 1 commit
-
-
Elias Daler authored
Change location of generated pkg-config files from CMAKE_BINARY_DIR to gmock/gtest_BINARY_DIR (#1717)
-
- 03 Aug, 2018 1 commit
-
-
Gennadiy Civil authored
-
- 02 Aug, 2018 6 commits
-
-
Gennadiy Civil authored
more fixes
-
Gennadiy Civil authored
add --no_stacktrace_support for json-output-unittest
-
Gennadiy Civil authored
cmake test fixes
-
Gennadiy Civil authored
cmake fixes
-
Gennadiy Civil authored
cmake tests changes
-
Gennadiy Civil authored
cleaning up and adding test changes to CMake
-
- 01 Aug, 2018 1 commit
-
-
Gennadiy Civil authored
Corresponding CMake Changes
-
- 10 Jul, 2018 1 commit
-
-
Derek Mauro authored
This does the same thing to the CMake tests that is done to the Bazel tests, and now makes the CMake tests pass.
-
- 05 Apr, 2018 1 commit
-
-
Henry Fredrick Schreiner authored
-
- 28 Feb, 2018 1 commit
-
-
Petr Hosek authored
This change allows emitting output in JSON format in addition to the already supported XML format. The implementation as well as the file structure is intentionally modelled after the XML one.
-
- 26 Feb, 2018 1 commit
-
-
David Neto authored
CMAKE_DEBUG_POSTFIX is a global configuration parameter, and changing it pollutes the configuration space for other projects that enclose this project. DEBUG_POSTFIX is better to use since it is a target-specific poperty. Fixes #1334 Fixes #1268
-
- 11 Dec, 2017 1 commit
-
-
Bryan Zimmerman authored
-
- 07 Dec, 2017 1 commit
-
-
Wojciech Mamrak authored
-
- 27 Nov, 2017 1 commit
-
-
Sam Lunt authored
-
- 27 Oct, 2017 1 commit
-
-
Bryan Zimmerman authored
change static_cast to ImplicitCast_ for consitency fixes for building with path names containing spaces
-
- 14 Sep, 2017 1 commit
-
-
ly2048 authored
Enable generating different library name to be compatible with CMake's `FindGTest`.
-
- 05 Sep, 2017 1 commit
-
-
Herbert Thielen authored
It's not necessary, as the target_link_libraries command contains an absolute path already, and the path given doesn't exist anymore, leading only to linker warnings like: ld: warning: directory not found for option '-L/Users/travis/build/google/googletest/build/googlemock/gtest/src'
-
- 18 Aug, 2017 1 commit
-
-
Henry Schreiner authored
This policy setting will silence a warning when using with a visibility settings on targets. Due to the forced `cmake_minimum_version`, policy settings in CMakeLists calling this one (including the main CMakeLists) are lost, forcing the change to be made here.
-
- 14 Aug, 2017 1 commit
-
-
David Seifert authored
-
- 09 Aug, 2017 1 commit
-
-
Matthew Woehlke authored
Modify library install destinations to install .dll's to the correct location (`bin`, not `lib`), and to install other artifacts to the correct platform-dependent location by using GNUInstallDirs. This is required for some distributions (e.g. Fedora) and will fix an issue that otherwise requires those distributions to patch the upstream sources. Also, add options to suppress installation, which may be useful for projects that embed Google Test. Since Google Test is trying to support archaic versions of CMake, a brain-dead fallback (which requires that the user set either LIB_SUFFIX or CMAKE_INSTALL_LIBDIR themselves) is included for versions that predate GNUInstallDirs. Fixes #1161. Co-Authored-By:d3x0r <d3x0r@users.noreply.github.com>
-
- 18 Dec, 2016 1 commit
-
-
Craig Scott authored
-
- 06 Dec, 2015 1 commit
-
-
Craig Scott authored
-
- 23 Nov, 2015 1 commit
-
-
Taylor Braun-Jones authored
-
- 30 Oct, 2015 1 commit
-
-
Dominic Meiser authored
When this option is set gtest itself is built with -fvisibility=hidden with gcc and clang. This replicates MSVC's default behaviour with gcc and clang.
-
- 25 Aug, 2015 1 commit
-
-
Billy Donahue authored
-