Index: chrome_frame/test/net/fake_external_tab.cc |
=================================================================== |
--- chrome_frame/test/net/fake_external_tab.cc (revision 109912) |
+++ chrome_frame/test/net/fake_external_tab.cc (working copy) |
@@ -587,6 +587,16 @@ |
} |
int main(int argc, char** argv) { |
+ if (chrome_frame_test::GetInstalledIEVersion() >= IE_9) { |
+ // Adding this here as the command line and the logging stuff gets |
+ // initialized in the NetTestSuite constructor. Did not want to break that. |
+ base::AtExitManager at_exit_manager; |
+ CommandLine::Init(argc, argv); |
+ CFUrlRequestUnittestRunner::InitializeLogging(); |
+ LOG(INFO) << "Not running ChromeFrame net tests on IE9+"; |
+ return 0; |
+ } |
+ |
google_breakpad::scoped_ptr<google_breakpad::ExceptionHandler> breakpad( |
InitializeCrashReporting(HEADLESS)); |