summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest
diff options
context:
space:
mode:
authorAlexey Spiridonov <lesha@fb.com>2019-10-17 07:19:18 (GMT)
committerAlexey Spiridonov <snarkmaster@gmail.com>2019-10-17 07:32:47 (GMT)
commitcbf019de22c8dd37b2108da35b2748fd702d1796 (patch)
tree5b36a0cb3f1b7d6879384f765cf9b324326a20ce /googletest/include/gtest
parentbdc29d5dc19dd802907ea37a80ce5dc9afe0898d (diff)
downloadgoogletest-cbf019de22c8dd37b2108da35b2748fd702d1796.zip
googletest-cbf019de22c8dd37b2108da35b2748fd702d1796.tar.gz
googletest-cbf019de22c8dd37b2108da35b2748fd702d1796.tar.bz2
[googletest] Output skip messagerefs/pull/2517/head
Closes #2208 Previously, skip messages were invisible, so debugging skips was hard. Now we have this: ``` $ ./googletest/gtest_skip_test Running main() from /home/lesha/github/snarkmaster/googletest/googletest/src/gtest_main.cc [==========] Running 3 tests from 2 test suites. [----------] Global test environment set-up. [----------] 1 test from SkipTest [ RUN ] SkipTest.DoesSkip /home/lesha/github/snarkmaster/googletest/googletest/test/gtest_skip_test.cc:38: Skipped skipping single test [ SKIPPED ] SkipTest.DoesSkip (0 ms) [----------] 1 test from SkipTest (1 ms total) ... ```
Diffstat (limited to 'googletest/include/gtest')
-rw-r--r--googletest/include/gtest/gtest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/include/gtest/gtest.h b/googletest/include/gtest/gtest.h
index 37a1762..8eda6ea 100644
--- a/googletest/include/gtest/gtest.h
+++ b/googletest/include/gtest/gtest.h
@@ -1889,7 +1889,7 @@ class TestWithParam : public Test, public WithParamInterface<T> {
// Skips test in runtime.
// Skipping test aborts current function.
// Skipped tests are neither successful nor failed.
-#define GTEST_SKIP() GTEST_SKIP_("Skipped")
+#define GTEST_SKIP() GTEST_SKIP_("")
// ADD_FAILURE unconditionally adds a failure to the current test.
// SUCCEED generates a success - it doesn't automatically make the