diff options
Diffstat (limited to 'tools/nocompile_driver.py')
-rwxr-xr-x | tools/nocompile_driver.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/nocompile_driver.py b/tools/nocompile_driver.py index ca71127..5a8a081 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') |