donate-cpu.py: Save some system / platform information (#1590)
Save some system information which could help debugging the donate-cpu script and Cppcheck.
This commit is contained in:
parent
c6b48b67f9
commit
bae4040060
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue