summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/test/net/fake_external_tab.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc
index 81d6c0b..b33ad1e 100644
--- a/chrome_frame/test/net/fake_external_tab.cc
+++ b/chrome_frame/test/net/fake_external_tab.cc
@@ -587,6 +587,16 @@ const char* IEVersionToString(IEVersion version) {
}
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));