summaryrefslogtreecommitdiffstats
path: root/content/test/layout_test_http_server.cc
Commit message (Collapse)AuthorAgeFilesLines
* Reland: Take 2: Force python test server output to be unbuffered, so it ↵rsimha@google.com2012-09-121-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | doesn't mix with gtest output In browser tests that use a local python server, the python output in the test logs sometimes overlaps with gtest output, resulting in gtest falsely detecting passing tests as incomplete. This is a result of python's default use of buffered output, which gets written to the log file out of order. This patch forces the python process for local test servers to use unbuffered mode via the -u switch. This way, by the time gtest is ready to log a passing test, all testserver output is already written to the log file. Update: The win xp bots were adversely affected by the -u switch, so we now apply it only for mac and linux, which is where the original problem was found. BUG=147368 TEST=See sync integration test output when it is redirected to a log file, and make sure there are no false negatives. Originally committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156361 Review URL: https://codereview.chromium.org/10907162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156389 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 156361 - Take 2: Force python test server output to be unbuffered, so ↵rsimha@google.com2012-09-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | it doesn't mix with gtest output In browser tests that use a local python server, the python output in the test logs sometimes overlaps with gtest output, resulting in gtest falsely detecting passing tests as incomplete. This is a result of python's default use of buffered output, which gets written to the log file out of order. This patch forces the python process for local test servers to use unbuffered mode via the -u switch. This way, by the time gtest is ready to log a passing test, all testserver output is already written to the log file. BUG=147368 TEST= See sync integration test output when it is redirected to a log file, and make sure there are no false negatives. Review URL: https://chromiumcodereview.appspot.com/10907162 TBR=rsimha@google.com Review URL: https://codereview.chromium.org/10911264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156376 0039d316-1c4b-4281-b951-d872f2087c98
* Take 2: Force python test server output to be unbuffered, so it doesn't mix ↵rsimha@google.com2012-09-121-3/+1
| | | | | | | | | | | | | | | | | | | | | | with gtest output In browser tests that use a local python server, the python output in the test logs sometimes overlaps with gtest output, resulting in gtest falsely detecting passing tests as incomplete. This is a result of python's default use of buffered output, which gets written to the log file out of order. This patch forces the python process for local test servers to use unbuffered mode via the -u switch. This way, by the time gtest is ready to log a passing test, all testserver output is already written to the log file. BUG=147368 TEST= See sync integration test output when it is redirected to a log file, and make sure there are no false negatives. Review URL: https://chromiumcodereview.appspot.com/10907162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156361 0039d316-1c4b-4281-b951-d872f2087c98
* Move all the layout tests that ran under browser_tests to run under ↵jam@chromium.org2012-07-251-0/+134
content_browsertests. To support the new tests, I added new methods to create new normal/incognito windows in content_browsertests. BUG=90448 Review URL: https://chromiumcodereview.appspot.com/10820007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148349 0039d316-1c4b-4281-b951-d872f2087c98