From cdb449a1b862db24479fd5b19bca6fad05bb8c8c Mon Sep 17 00:00:00 2001 From: versat Date: Fri, 29 Mar 2019 09:40:09 +0100 Subject: [PATCH] donate-cpu.py: Only some cosmetic / coding style fixes. --- tools/donate-cpu.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/donate-cpu.py b/tools/donate-cpu.py index f50b01c8d..93045205f 100644 --- a/tools/donate-cpu.py +++ b/tools/donate-cpu.py @@ -4,7 +4,8 @@ # # Syntax: donate-cpu.py [-jN] [--package=url] [--stop-time=HH:MM] [--work-path=path] [--test] [--bandwidth-limit=limit] # -jN Use N threads in compilation/analysis. Default is 1. -# --package=url Check a specific package and then stop. Can be useful if you want to reproduce some warning/crash/exception/etc.. +# --package=url Check a specific package and then stop. Can be useful if you want to reproduce +# some warning/crash/exception/etc.. # --stop-time=HH:MM Stop analysis when time has passed. Default is that you must terminate the script. # --work-path=path Work folder path. Default path is cppcheck-donate-cpu-workfolder in your home folder. # --test Connect to a donate-cpu-server that is running locally on port 8001 for testing. @@ -230,7 +231,7 @@ def hasInclude(path, includes): pass return False - + def runCommand(cmd): print(cmd) startTime = time.time() @@ -255,12 +256,12 @@ def scanPackage(workPath, cppcheckPath, jobs): # 'libcerror': [''], <- Enable after release of 1.88 'microsoft_sal': [''], 'motif': ['', '', ''], <- Enable after release of 1.88 + # 'opengl': ['', '', ''], <- Enable after release of 1.88 'python': ['', '"Python.h"'], 'qt': ['', '', '', '', '', ''], - #'sqlite3': [''], <- Enable after release of 1.88 + # 'sqlite3': [''], <- Enable after release of 1.88 'tinyxml2': [''],