diff options
author | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-06 12:25:19 +0000 |
---|---|---|
committer | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-06 12:25:19 +0000 |
commit | eb2dad902c1d219e1b0a5663162254bb819f091e (patch) | |
tree | 0dcb3c516b8e876a559df5d6da2935c0d8a2f603 /tools | |
parent | ccf2231b71685fedbd0a9effdce6875a77a27ccc (diff) | |
download | chromium_src-eb2dad902c1d219e1b0a5663162254bb819f091e.zip chromium_src-eb2dad902c1d219e1b0a5663162254bb819f091e.tar.gz chromium_src-eb2dad902c1d219e1b0a5663162254bb819f091e.tar.bz2 |
TSan: print error reports to stdout instead of stderr
This is needed for the Windows bots to have the suppression hashes available in
the build view as unique failures.
TBR=glider
Review URL: http://codereview.chromium.org/8816016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113190 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/valgrind/tsan_analyze.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/valgrind/tsan_analyze.py b/tools/valgrind/tsan_analyze.py index 65134dd..5138a1f 100755 --- a/tools/valgrind/tsan_analyze.py +++ b/tools/valgrind/tsan_analyze.py @@ -236,8 +236,10 @@ class TsanAnalyzer(object): retcode = 0 if reports: logging.error("FAIL! Found %i report(s)" % len(reports)) + sys.stderr.flush() for report in reports: - logging.error('\n' + report) + logging.info('\n' + report) + sys.stdout.flush() retcode = -1 # Report tool's insanity even if there were errors. @@ -265,6 +267,7 @@ def main(): parser.error("no filename specified") filenames = args + logging.getLogger().setLevel(logging.INFO) analyzer = TsanAnalyzer(options.source_dir, use_gdb=True) return analyzer.Report(filenames, None) |