From 86f984020bfb0613ad2ca2e296c4bc8cbad28191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 29 Nov 2018 21:28:49 +0100 Subject: [PATCH] donate-cpu: save all warnings reported by head --- tools/donate-cpu.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/donate-cpu.py b/tools/donate-cpu.py index 97404b371..56e1198c0 100644 --- a/tools/donate-cpu.py +++ b/tools/donate-cpu.py @@ -373,6 +373,8 @@ while True: output = 'cppcheck: ' + ' '.join(cppcheckVersions) + '\n' output += 'count:' + count + '\n' output += 'elapsed-time:' + elapsedTime + '\n' + if 'head' in cppcheckVersions: + output += 'head results:\n' + resultsToDiff[cppcheckVersions.index('head')] if not crash: output += 'diff:\n' + diffResults(workpath, cppcheckVersions[0], resultsToDiff[0], cppcheckVersions[1], resultsToDiff[1]) + '\n' if packageUrl: