From bae4040060c1dffa88c6766e30e97581fa90dc13 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 11 Jan 2019 20:07:11 +0100 Subject: [PATCH] donate-cpu.py: Save some system / platform information (#1590) Save some system information which could help debugging the donate-cpu script and Cppcheck. --- tools/donate-cpu.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/donate-cpu.py b/tools/donate-cpu.py index 640dbf640..b245c263c 100644 --- a/tools/donate-cpu.py +++ b/tools/donate-cpu.py @@ -28,6 +28,7 @@ import socket import time import re import tarfile +import platform def checkRequirements(): @@ -415,6 +416,8 @@ while True: print('No results') continue output = 'cppcheck-options: ' + cppcheck_options + '\n' + output += 'platform: ' + platform.platform() + '\n' + output += 'python: ' + platform.python_version() + '\n' output += 'cppcheck: ' + ' '.join(cppcheckVersions) + '\n' output += 'count:' + count + '\n' output += 'elapsed-time:' + elapsedTime + '\n'