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

Unified Diff: tools/nocompile_driver.py

Issue 12040055: Fix no-compile tests in base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « base/safe_numerics_unittest.nc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/nocompile_driver.py
diff --git a/tools/nocompile_driver.py b/tools/nocompile_driver.py
index ca711278d77ca2a4cdf4c723d851702daf56b6d7..5a8a081afb119004373e0977c750952ab06d0d64 100755
--- a/tools/nocompile_driver.py
+++ b/tools/nocompile_driver.py
@@ -273,17 +273,17 @@ def FailTest(resultfile, test, error, stdout=None, stderr=None):
stdout: The test's output to stdout.
stderr: The test's output to stderr.
"""
- resultfile.write('#error %s Failed: %s\n' % (test['name'], error))
- resultfile.write('#error compile line: %s\n' % test['cmdline'])
+ resultfile.write('#error "%s Failed: %s"\n' % (test['name'], error))
+ resultfile.write('#error "compile line: %s"\n' % test['cmdline'])
if stdout and len(stdout) != 0:
- resultfile.write('#error %s stdout:\n' % test['name'])
+ resultfile.write('#error "%s stdout:"\n' % test['name'])
for line in stdout.split('\n'):
- resultfile.write('#error %s\n' % line)
+ resultfile.write('#error " %s:"\n' % line)
if stderr and len(stderr) != 0:
- resultfile.write('#error %s stderr:\n' % test['name'])
+ resultfile.write('#error "%s stderr:"\n' % test['name'])
for line in stderr.split('\n'):
- resultfile.write('#error %s\n' % line)
+ resultfile.write('#error " %s"\n' % line)
resultfile.write('\n')
« no previous file with comments | « base/safe_numerics_unittest.nc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698