pvscheck: Remove outputs before running plog-converter

plog-converter behaviour is not the best one when creating fullhtml report and
directory already exists: it puts report inside an existing directory. Not sure
what exactly it does if inside exists as well, but if I am not mistaking report
will not be created.
This commit is contained in:
ZyX 2018-04-17 01:14:55 +03:00
parent eba61fbc97
commit 57c66bc168

View File

@ -361,6 +361,7 @@ run_analysis() {(
--file build/compile_commands.json \
--sourcetree-root . || true
rm -rf PVS-studio.{xml,err,tsk,html.d}
plog-converter -r . -t xml -o PVS-studio.xml PVS-studio.log
plog-converter -r . -t errorfile -o PVS-studio.err PVS-studio.log
plog-converter -r . -t tasklist -o PVS-studio.tsk PVS-studio.log