Index: chrome_frame/test/net/fake_external_tab.cc |
=================================================================== |
--- chrome_frame/test/net/fake_external_tab.cc (revision 96788) |
+++ chrome_frame/test/net/fake_external_tab.cc (working copy) |
@@ -578,5 +578,11 @@ |
base::KillProcesses(chrome_frame_test::kIEImageName, 0, NULL); |
base::KillProcesses(chrome_frame_test::kIEBrokerImageName, 0, NULL); |
+ // Avoid CRT cleanup in debug test runs to ensure that webkit ASSERTs which |
+ // check if globals are created and destroyed on the same thread don't fire. |
+ // Webkit global objects are created on the inproc renderer thread. |
+#ifdef _DEBUG |
M-A Ruel
2011/08/16 22:03:47
In general we use #if !defined(NDEBUG) since _DEBU
ananta
2011/08/16 22:10:59
Done.
|
+ ExitProcess(test_suite.test_result()); |
+#endif // _DEBUG |
return test_suite.test_result(); |
} |