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

Unified Diff: webkit/tools/layout_tests/layout_package/test_shell_thread.py

Issue 10616: Roll back Rietveld issue 8778 (r5183, appending stderr to layout-test output)... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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 | « no previous file | webkit/tools/layout_tests/test_lists/win/tests_fixable.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/layout_tests/layout_package/test_shell_thread.py
===================================================================
--- webkit/tools/layout_tests/layout_package/test_shell_thread.py (revision 5226)
+++ webkit/tools/layout_tests/layout_package/test_shell_thread.py (working copy)
@@ -78,21 +78,6 @@
outlines.append(line)
line = proc.stdout.readline()
- # If we had any stderr output, append that. This is not ideal, but at least
- # it'll catch errors.
-# line = proc.stderr.readline()
-# while line.rstrip() != "#EOF":
-# # TODO(pamg): We suppress this stderr message temporarily so we can run
-# # the tests deterministically until someone has a chance to fix the
-# # underlying problem.
-# # See http://code.google.com/p/chromium/issues/detail?id=4285
-# if (line != '' and
-# not line.endswith('alias ISO-8859-8-I maps to ISO-8859-8-I already, '
-# 'but someone is trying to make it map to '
-# 'ISO-8859-8')):
-# outlines.append(line)
-# line = proc.stderr.readline()
-
# Check the output and save the results.
for test_type in test_types:
new_failures = test_type.CompareOutput(filename, proc,
@@ -109,13 +94,10 @@
def StartTestShell(binary, args):
"""Returns the process for a new test_shell started in layout-tests mode."""
cmd = [binary, '--layout-tests'] + args
- # We'd really like to combine stderr into stdout here by setting stderr to
- # subprocess.STDOUT, but on Windows that's just dropping stderr output on
- # the floor, at least in Python 2.4.1.
return subprocess.Popen(cmd,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
- stderr=subprocess.PIPE)
+ stderr=subprocess.STDOUT)
class SingleTestThread(threading.Thread):
« no previous file with comments | « no previous file | webkit/tools/layout_tests/test_lists/win/tests_fixable.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698