Bug 1539779 - clang-tidy 8 mixes stderr and stdout causing parsing issues. r=sylvestre

Differential Revision: https://phabricator.services.mozilla.com/D25255

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andi-Bogdan Postelnicu 2019-03-29 08:08:31 +00:00
parent 437397c847
commit 2473b505db
4 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/extra/clang-tidy/tool/run-clang-tidy.py 2019-03-27 15:12:48.000000000 +0200
+++ b/extra/clang-tidy/tool/run-clang-tidy.py 2019-03-27 15:12:39.000000000 +0200
@@ -169,7 +169,7 @@
with lock:
sys.stdout.write(' '.join(invocation) + '\n' + output.decode('utf-8') + '\n')
if len(err) > 0:
- sys.stderr.write(err.decode('utf-8') + '\n')
+ sys.stdout.write(err.decode('utf-8') + '\n')
queue.task_done()

View File

@ -16,5 +16,6 @@
"cxx": "/builds/worker/workspace/build/src/gcc/bin/g++",
"as": "/builds/worker/workspace/build/src/gcc/bin/gcc",
"patches": [
"clang-tidy-8.patch"
]
}

View File

@ -21,5 +21,6 @@
"libtool": "/builds/worker/workspace/build/src/cctools/bin/x86_64-darwin11-libtool",
"ld": "/builds/worker/workspace/build/src/clang/bin/clang",
"patches": [
"clang-tidy-8.patch"
]
}

View File

@ -15,5 +15,6 @@
"cxx": "cl.exe",
"ml": "ml64.exe",
"patches": [
"clang-tidy-8.patch"
]
}