Bug 52432 - [Chromium] The stdout and stderr output of DRT is in unknown order.
Summary: [Chromium] The stdout and stderr output of DRT is in unknown order.
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-14 01:15 PST by zhenghao
Modified: 2013-04-11 13:15 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zhenghao 2011-01-14 01:15:04 PST
In ChromiumDriver.start(), it combines the output of stdout and stderr of subprocess DRT. And then in run_test(), it assumes that stderr output all comes before the line "#URL:". But actually the sequence of stdout and stderr is undefined, which may break some layout tests under some environment unexpectedly.

In WebKitDriver, it uses a nice util ServerProcess. It seperate stdout and stderr, and uses read with timeout. This could be a better solution.
Comment 1 Stephen Chenney 2013-04-11 13:15:00 PDT
Test related bugs being marked WontFix. TestExpectations will contain bug if still relevant.