summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/test_suite.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/test_suite.h b/base/test_suite.h
index 2aacecd..410d931 100644
--- a/base/test_suite.h
+++ b/base/test_suite.h
@@ -104,7 +104,11 @@ class TestSuite {
if (!IsDebuggerPresent() &&
!CommandLine::ForCurrentProcess()->HasSwitch(L"show-error-dialogs")) {
SuppressErrorDialogs();
+#if !defined(PURIFY)
+ // When the code in this file moved around, bug 6436 resurfaced.
+ // As a hack workaround, just #ifdef out this code for Purify builds.
logging::SetLogAssertHandler(UnitTestAssertHandler);
+#endif
}
#endif