- 29 Apr, 2019 1 commit
-
-
misterg authored
Internal Change PiperOrigin-RevId: 245788057
-
- 22 Jan, 2019 1 commit
-
-
Pavel Samolysov authored
Signed-off-by:Pavel Samolysov <samolisov@gmail.com>
-
- 14 Jan, 2019 1 commit
-
-
Pavel Samolysov authored
While the google test library is being built as a shared library using Bazel, so that there is a rule like cc_test( name = "iterator_traits_test", linkstatic = 0, deps = ["@gtest//:gtest_main"], ... ) in a BUILD file, the following error appears on Windows: INFO: Found 1 test target... ERROR: C:/../external/gtest/BUILD.bazel:55:1: output 'external/gtest/gtest.if.lib' was not created ERROR: C:/../external/gtest/BUILD.bazel:55:1: not all outputs were created or valid Target //test:iterator_traits_test failed to build The reason is a missing "win_def_file" attribute of the "gtest" and "gtest_main" rules in the BUILD.bazel inside the google test library package. The "windows_export_all_symbols" feature is added to the rules, this feature forces Bazel to export all symbols from the google test library to linker. I believe exporting all symbols from a testing library makes no problem for the application from a point of view on encapsulation. Signed-off-by:Pavel Samolysov <samolisov@gmail.com>
-
- 03 Dec, 2018 2 commits
- 07 Nov, 2018 1 commit
-
-
krzysio authored
Improve Bazel build files. New target gtest_prod allows access to the FRIEND_TEST macro without depending on the entirety of GTest in production executables. Additionally, duplicate config_setting rules were removed and formatting was adjusted. PiperOrigin-RevId: 220279205
-
- 01 Oct, 2018 2 commits
- 12 Jul, 2018 1 commit
-
-
Derek Mauro authored
-
- 10 Jul, 2018 1 commit
-
-
Derek Mauro authored
This change adds the ability to generate stacktraces in Google Test on both failures of assertions/expectations and on crashes. The stacktrace support is conditionally available only when using Abseil with Google Test. To use this support, run the test under Bazel with a command like this: bazel test --define absl=1 --test_env=GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1 //path/to/your:test The "--define absl=1" part enables stacktraces on assertion/expectation failures. The "--test_env=GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1" part enables the signal handler that logs a stacktrace in the event of a crash (this also requires the "--define absl=1" part). This is not the default since it may interfere with existing tests.
-
- 31 Jan, 2018 1 commit
-
-
Gennadiy Civil authored
-
- 30 Jan, 2018 1 commit
-
-
Gennadiy Civil authored
-
- 09 Jan, 2018 1 commit
-
-
Loo Rong Jie authored
and x64_windows_msvc
-
- 18 Aug, 2017 2 commits
-
-
Zhongming Qu authored
-
Zhongming Qu authored
-
- 10 Aug, 2017 3 commits
- 09 Aug, 2017 2 commits
- 08 Aug, 2017 2 commits
- 02 Aug, 2017 2 commits
- 01 Aug, 2017 2 commits