Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5349)

Unified Diff: chrome/test/webdriver/webdriver_server.cc

Issue 10825109: Add default testing command line flags in UITestBase instead of ProxyLauncher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix define Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/webdriver/webdriver_automation.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/webdriver_server.cc
diff --git a/chrome/test/webdriver/webdriver_server.cc b/chrome/test/webdriver/webdriver_server.cc
index a9a1bb20f1fa70494c8861ea3d5e8a7fc2124110..899ed284c5abcaea63d907c16fddeda356abeb1d 100644
--- a/chrome/test/webdriver/webdriver_server.cc
+++ b/chrome/test/webdriver/webdriver_server.cc
@@ -305,13 +305,15 @@ int RunChromeDriver() {
// The tests depend on parsing the first line ChromeDriver outputs,
// so all other logging should happen after this.
- std::cout << "Started ChromeDriver" << std::endl
- << "port=" << port << std::endl
- << "version=" << chrome::kChromeVersion << std::endl;
- if (logging_success)
- std::cout << "log=" << FileLog::Get()->path().value() << std::endl;
- else
- std::cout << "Log file could not be created" << std::endl;
+ if (!cmd_line->HasSwitch("silent")) {
+ std::cout << "Started ChromeDriver" << std::endl
+ << "port=" << port << std::endl
+ << "version=" << chrome::kChromeVersion << std::endl;
+ if (logging_success)
+ std::cout << "log=" << FileLog::Get()->path().value() << std::endl;
+ else
+ std::cout << "Log file could not be created" << std::endl;
+ }
// Run until we receive command to shutdown.
// Don't call mg_stop because mongoose will hang if clients are still
« no previous file with comments | « chrome/test/webdriver/webdriver_automation.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698