diff options
author | Doug Greiman <dgreiman@google.com> | 2016-02-24 02:50:08 (GMT) |
---|---|---|
committer | Doug Greiman <dgreiman@google.com> | 2016-02-24 02:50:08 (GMT) |
commit | d6790f26cae2ced1ebdd35f9fa61893e9cee1007 (patch) | |
tree | f2a380e296b920b1d4b975d1c71092a7f5a4a7ba /googletest/include/gtest | |
parent | ff5ffd457e032c8be8a64a7a94c824063c8b11e3 (diff) | |
download | googletest-d6790f26cae2ced1ebdd35f9fa61893e9cee1007.zip googletest-d6790f26cae2ced1ebdd35f9fa61893e9cee1007.tar.gz googletest-d6790f26cae2ced1ebdd35f9fa61893e9cee1007.tar.bz2 |
Read Bazel's $XML_OUTPUT_FILE environment variable
If $XML_OUTPUT_FILE is set, and $GTEST_OUTPUT and --gtest_output are not
specified, produce output as if GTEST_OUTPUT=xml:$XML_OUTPUT_FILE had
been set.
Diffstat (limited to 'googletest/include/gtest')
-rw-r--r-- | googletest/include/gtest/internal/gtest-port.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/include/gtest/internal/gtest-port.h b/googletest/include/gtest/internal/gtest-port.h index 7d6e465..236aaea 100644 --- a/googletest/include/gtest/internal/gtest-port.h +++ b/googletest/include/gtest/internal/gtest-port.h @@ -2547,9 +2547,9 @@ bool ParseInt32(const Message& src_text, const char* str, Int32* value); bool BoolFromGTestEnv(const char* flag, bool default_val); GTEST_API_ Int32 Int32FromGTestEnv(const char* flag, Int32 default_val); const char* StringFromGTestEnv(const char* flag, const char* default_val); +std::string OutputFromGTestEnv(const char * default_val); } // namespace internal } // namespace testing #endif // GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_ - |