diff options
author | Dominic Sacré <dominic.sacre@gmx.de> | 2016-08-24 13:40:20 (GMT) |
---|---|---|
committer | Dominic Sacré <dominic.sacre@gmx.de> | 2018-08-31 12:57:23 (GMT) |
commit | 8f279122de756e0a6dd6c0024d750d3c285b0336 (patch) | |
tree | 1541fe76f20073e2eb147b3e278df0e3fe274c9a /googletest/include/gtest | |
parent | bb18e25d15bddec1e1235c45be3a9c9f164754a3 (diff) | |
download | googletest-8f279122de756e0a6dd6c0024d750d3c285b0336.zip googletest-8f279122de756e0a6dd6c0024d750d3c285b0336.tar.gz googletest-8f279122de756e0a6dd6c0024d750d3c285b0336.tar.bz2 |
Add missing declarations for Google Tests flags
Add declarations for install_failure_signal_handler and flagfile.
Fix Clang warnings:
| warning: no previous extern declaration for non-static variable
| 'FLAGS_gtest_install_failure_signal_handler' [-Wmissing-variable-declarations]
| warning: no previous extern declaration for non-static variable
| 'FLAGS_gtest_flagfile' | [-Wmissing-variable-declarations]
Diffstat (limited to 'googletest/include/gtest')
-rw-r--r-- | googletest/include/gtest/gtest.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/googletest/include/gtest/gtest.h b/googletest/include/gtest/gtest.h index 2be8b11..5df4b0a 100644 --- a/googletest/include/gtest/gtest.h +++ b/googletest/include/gtest/gtest.h @@ -116,6 +116,10 @@ GTEST_DECLARE_string_(color); // the tests to run. If the filter is not given all tests are executed. GTEST_DECLARE_string_(filter); +// This flag controls whether Google Test installs a signal handler that dumps +// debugging information when fatal signals are raised. +GTEST_DECLARE_bool_(install_failure_signal_handler); + // This flag causes the Google Test to list tests. None of the tests listed // are actually run if the flag is provided. GTEST_DECLARE_bool_(list_tests); @@ -159,6 +163,10 @@ GTEST_DECLARE_bool_(throw_on_failure); // the specified host machine. GTEST_DECLARE_string_(stream_result_to); +#if GTEST_USE_OWN_FLAGFILE_FLAG_ +GTEST_DECLARE_string_(flagfile); +#endif // GTEST_USE_OWN_FLAGFILE_FLAG_ + // The upper limit for valid stack trace depths. const int kMaxStackTraceDepth = 100; |