daca2: skip --exception-handling to avoid hangs (#8589)

This commit is contained in:
Daniel Marjamäki 2018-05-21 08:54:21 +02:00
parent 406aa6cf1c
commit 0a0ffcdac6
1 changed files with 2 additions and 1 deletions

View File

@ -153,8 +153,9 @@ def scanarchive(filepath, jobs, cpulimit):
cmd = 'cpulimit --limit=' + cpulimit
else:
cmd = 'nice --adjustment=1000'
# TODO: The --exception-handling=stderr is skipped right now because it hangs (#8589)
cmd = cmd + ' ../cppcheck-O2 -D__GCC__ --enable=style --inconclusive --error-exitcode=0 ' +\
'--exception-handling=stderr ' + jobs + ' --template=daca2 .'
jobs + ' --template=daca2 .'
cmds = cmd.split()
p = subprocess.Popen(cmds, stdout=subprocess.PIPE, stderr=subprocess.PIPE)