Commit Graph
17 Commits
Author SHA1 Message Date
Derek Mauro 4c41787764 Adds stacktrace support from Abseil to Google Test
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.
2018-07-10 14:30:42 -04:00
Gennadiy Civil e6ec8bc52f Merges and also adding new bazel build mode 2018-01-31 12:05:18 -05:00
Gennadiy Civil 2a4683021a Ability to optionally depend on Abseil plus upstream of 183716547 2018-01-30 11:42:03 -05:00
Loo Rong Jie cbd15d417e [Bazel] Detect Windows with cpu value x64_windows and x64_windows_msvc
and x64_windows_msvc
2018-01-09 08:29:44 +08:00
Zhongming Qu 99d0ef39a6 Also can build when included in source. 2017-08-18 04:00:02 -07:00
Zhongming Qu 9538687a89 Remove trailing whitespaces in BUILD.bazel 2017-08-18 03:59:53 -07:00
misterg c3f65335b7 Addressing comments 2017-08-10 15:33:09 -04:00
misterg cb5b05436d Added Copyright 2017-08-10 12:03:27 -04:00
misterg b98e30b427 Initial Revision, review 164634031 2017-08-10 11:54:46 -04:00
misterg 66a036959f WIP 2017-08-09 14:37:58 -04:00
misterg ac885f3ab2 WIP 2017-08-09 11:47:54 -04:00
misterg e66b6bc868 WIP, win testing 2017-08-08 15:41:44 -04:00
misterg 8815087cfa WIP 2017-08-08 15:17:56 -04:00
misterg aa31cb67c2 WIP 2017-08-02 15:40:14 -04:00
misterg 6615f7df11 WIP 2017-08-02 14:36:39 -04:00
misterg b3edada290 WIP 2017-08-01 14:50:59 -04:00
misterg f63e2a14a2 WIP 2017-08-01 14:36:29 -04:00