summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-26 21:35:13 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-26 21:35:13 +0000
commitb65e2a004765afddbaf609dcee2f90254e348923 (patch)
tree145abb30c1a4bef4c2cf44776cf10c20f548e6ab
parent803c73a9ad3151139f85732dfad0a3b1bf9887c4 (diff)
downloadchromium_src-b65e2a004765afddbaf609dcee2f90254e348923.zip
chromium_src-b65e2a004765afddbaf609dcee2f90254e348923.tar.gz
chromium_src-b65e2a004765afddbaf609dcee2f90254e348923.tar.bz2
Run ui_tests (and other tests based on UITest) with --no-first-run to avoid
first-run dialogs. Review URL: http://codereview.chromium.org/113858 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16922 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/test/ui/ui_test.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc
index 762f25d..6d8cc03 100644
--- a/chrome/test/ui/ui_test.cc
+++ b/chrome/test/ui/ui_test.cc
@@ -240,6 +240,9 @@ void UITest::LaunchBrowser(const CommandLine& arguments, bool clear_profile) {
command_line.AppendLooseValue(extra_chrome_flags);
}
+ // No first-run dialogs, please.
+ command_line.AppendSwitch(switches::kNoFirstRun);
+
// We need cookies on file:// for things like the page cycler.
if (enable_file_cookies_)
command_line.AppendSwitch(switches::kEnableFileCookies);