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 time
|
||||||
import re
|
import re
|
||||||
import tarfile
|
import tarfile
|
||||||
|
import platform
|
||||||
|
|
||||||
|
|
||||||
def checkRequirements():
|
def checkRequirements():
|
||||||
|
@ -415,6 +416,8 @@ while True:
|
||||||
print('No results')
|
print('No results')
|
||||||
continue
|
continue
|
||||||
output = 'cppcheck-options: ' + cppcheck_options + '\n'
|
output = 'cppcheck-options: ' + cppcheck_options + '\n'
|
||||||
|
output += 'platform: ' + platform.platform() + '\n'
|
||||||
|
output += 'python: ' + platform.python_version() + '\n'
|
||||||
output += 'cppcheck: ' + ' '.join(cppcheckVersions) + '\n'
|
output += 'cppcheck: ' + ' '.join(cppcheckVersions) + '\n'
|
||||||
output += 'count:' + count + '\n'
|
output += 'count:' + count + '\n'
|
||||||
output += 'elapsed-time:' + elapsedTime + '\n'
|
output += 'elapsed-time:' + elapsedTime + '\n'
|
||||||
|
|
Loading…
Reference in New Issue