summaryrefslogtreecommitdiffstats
path: root/googletest/test/googletest-output-test-golden-lin.txt
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2021-09-20 16:34:56 (GMT)
committerdinord <dinor@google.com>2021-09-23 23:31:14 (GMT)
commit0570d97fb684452c96327e5e6e5ae02c14dbca29 (patch)
treeaad98d73fcbca4509d33eeaf0fb847c7677a1dbd /googletest/test/googletest-output-test-golden-lin.txt
parentde34ef4e4c6cbfeff9310898d3a773f037ad46f0 (diff)
downloadgoogletest-0570d97fb684452c96327e5e6e5ae02c14dbca29.zip
googletest-0570d97fb684452c96327e5e6e5ae02c14dbca29.tar.gz
googletest-0570d97fb684452c96327e5e6e5ae02c14dbca29.tar.bz2
Googletest export
Do not attempt to continue running a test suite if it already failed during `SetUpTestSuite`. The suite already failed and running the tests might just add noise to the run, or even crash the process unnecessarily. Fixes #2187 PiperOrigin-RevId: 397770405
Diffstat (limited to 'googletest/test/googletest-output-test-golden-lin.txt')
-rw-r--r--googletest/test/googletest-output-test-golden-lin.txt20
1 files changed, 18 insertions, 2 deletions
diff --git a/googletest/test/googletest-output-test-golden-lin.txt b/googletest/test/googletest-output-test-golden-lin.txt
index 3fab3b9..1f24fb7 100644
--- a/googletest/test/googletest-output-test-golden-lin.txt
+++ b/googletest/test/googletest-output-test-golden-lin.txt
@@ -12,7 +12,7 @@ Expected equality of these values:
3
Stack trace: (omitted)
-[==========] Running 88 tests from 41 test suites.
+[==========] Running 89 tests from 42 test suites.
[----------] Global test environment set-up.
FooEnvironment::SetUp() called.
BarEnvironment::SetUp() called.
@@ -956,6 +956,17 @@ Stack trace: (omitted)
~DynamicFixture()
[ FAILED ] BadDynamicFixture2.Derived
DynamicFixture::TearDownTestSuite
+[----------] 1 test from TestSuiteThatFailsToSetUp
+googletest-output-test_.cc:#: Failure
+Value of: false
+ Actual: false
+Expected: true
+Stack trace: (omitted)
+
+[ RUN ] TestSuiteThatFailsToSetUp.ShouldNotRun
+googletest-output-test_.cc:#: Skipped
+
+[ SKIPPED ] TestSuiteThatFailsToSetUp.ShouldNotRun
[----------] 1 test from PrintingFailingParams/FailingParamTest
[ RUN ] PrintingFailingParams/FailingParamTest.Fails/0
googletest-output-test_.cc:#: Failure
@@ -1032,8 +1043,10 @@ Failed
Expected fatal failure.
Stack trace: (omitted)
-[==========] 88 tests from 41 test suites ran.
+[==========] 89 tests from 42 test suites ran.
[ PASSED ] 31 tests.
+[ SKIPPED ] 1 test, listed below:
+[ SKIPPED ] TestSuiteThatFailsToSetUp.ShouldNotRun
[ FAILED ] 57 tests, listed below:
[ FAILED ] NonfatalFailureTest.EscapesStringOperands
[ FAILED ] NonfatalFailureTest.DiffForLongStrings
@@ -1094,6 +1107,9 @@ Stack trace: (omitted)
[ FAILED ] GoogleTestVerification.UninstantiatedTypeParameterizedTestSuite<DetectNotInstantiatedTypesTest>
57 FAILED TESTS
+[ FAILED ] TestSuiteThatFailsToSetUp: SetUpTestSuite or TearDownTestSuite
+
+ 1 FAILED TEST SUITE
 YOU HAVE 1 DISABLED TEST
Note: Google Test filter = FatalFailureTest.*:LoggingTest.*