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

Issue 8778: Collect stderr separately from stdout and append it to the layout test outp... (Closed)

Created:
12 years, 1 month ago by Pam (message me for reviews)
Modified:
9 years, 5 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

- Collect stderr separately from stdout and append it to the layout test output. - Write #EOF to stderr at the end of each test so it doesn't block. - Disable "DidStopLoading called while not loading" and "DidStartLoading called while loading" errors temporarily so the ~165 tests that give those errors can still be run while we fix the underlying problem. - Update Windows test list accordingly. stderr was always being included on Mac, so these tests shouldn't have changed state there. BUG=3937 TEST=covered by layout tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=5183

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -8 lines) Patch
M webkit/tools/layout_tests/layout_package/test_shell_thread.py View 1 2 3 2 chunks +17 lines, -1 line 0 comments Download
M webkit/tools/layout_tests/test_lists/win/tests_fixable.txt View 1 2 3 2 chunks +190 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/mac/test_webview_delegate.mm View 2 chunks +14 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/test_shell_win.cc View 5 2 chunks +8 lines, -3 lines 0 comments Download
M webkit/tools/test_shell/test_webview_delegate.cc View 1 2 3 4 5 2 chunks +14 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Pam (message me for reviews)
12 years, 1 month ago (2008-10-31 19:44:25 UTC) #1
ojan
Doesn't this mean the tests will fail on the debug builder?
12 years, 1 month ago (2008-10-31 19:48:17 UTC) #2
Pam (message me for reviews)
On 2008/10/31 19:48:17, ojan wrote: > Doesn't this mean the tests will fail on the ...
12 years, 1 month ago (2008-10-31 19:59:50 UTC) #3
ojan
LGTM
12 years, 1 month ago (2008-10-31 20:37:32 UTC) #4
pink (ping after 24hrs)
LGTM with the Mac delegate fix. http://codereview.chromium.org/8778/diff/22/26 File webkit/tools/test_shell/test_shell_win.cc (right): http://codereview.chromium.org/8778/diff/22/26#newcode401 Line 401: fflush(stderr); is ...
12 years, 1 month ago (2008-11-11 13:25:34 UTC) #5
Pam (message me for reviews)
12 years, 1 month ago (2008-11-11 18:04:47 UTC) #6
On 2008/11/11 13:25:34, pink wrote:
> LGTM with the Mac delegate fix.
> 
> http://codereview.chromium.org/8778/diff/22/26
> File webkit/tools/test_shell/test_shell_win.cc (right):
> 
> http://codereview.chromium.org/8778/diff/22/26#newcode401
> Line 401: fflush(stderr);
> is it necessary to flush stderr? I thought it was unbuffered by nature.

It's not necessary, but it won't hurt anything, and I prefer the parallelism.
I'm not adamant about that, though.

> http://codereview.chromium.org/8778/diff/22/25
> File webkit/tools/test_shell/test_webview_delegate.cc (right):
> 
> http://codereview.chromium.org/8778/diff/22/25#newcode133
> Line 133: //LOG(ERROR) << "DidStartLoading called while loading";
> can you fix test_webview_delegate.mm as well?

Done and committed. I see Linux hasn't ported this file.

Powered by Google App Engine
This is Rietveld 408576698