From 57c66bc168cb30a483b9fd13cb13e35bea5491bc Mon Sep 17 00:00:00 2001 From: ZyX Date: Tue, 17 Apr 2018 01:14:55 +0300 Subject: 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. --- scripts/pvscheck.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/pvscheck.sh') diff --git a/scripts/pvscheck.sh b/scripts/pvscheck.sh index 54e6241d07..9916a838b6 100755 --- a/scripts/pvscheck.sh +++ b/scripts/pvscheck.sh @@ -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 -- cgit