From 9570aa23b32961c4c78ee6bdb3716b92d4289235 Mon Sep 17 00:00:00 2001 From: Kyle Huey Date: Tue, 3 May 2016 22:39:53 -0700 Subject: [PATCH] Bug 1268723: Make it clear that the TestCrashyOperation crashes are expected. r=njn --HG-- extra : rebase_source : e2e8e6272aa8e80cd4b3db6828009555d4f5311e --- xpcom/tests/gtest/TestPLDHash.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/xpcom/tests/gtest/TestPLDHash.cpp b/xpcom/tests/gtest/TestPLDHash.cpp index e4fb1f22534e..f27484a2a005 100644 --- a/xpcom/tests/gtest/TestPLDHash.cpp +++ b/xpcom/tests/gtest/TestPLDHash.cpp @@ -56,6 +56,7 @@ TestCrashyOperation(void (*aCrashyOperation)()) #endif // Child: perform the crashy operation. + fprintf(stderr, "TestCrashyOperation: The following crash is expected. Do not panic.\n"); aCrashyOperation(); fprintf(stderr, "TestCrashyOperation: didn't crash?!\n"); ASSERT_TRUE(false); // shouldn't reach here