diff options
author | ZyX <kp-pav@yandex.ru> | 2018-04-17 01:14:55 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2018-04-17 01:37:58 +0300 |
commit | 57c66bc168cb30a483b9fd13cb13e35bea5491bc (patch) | |
tree | 57032358a6ea781bf5d41c631387187ac7dcbd11 | |
parent | eba61fbc974da88ae43f0fc5936708ecdf91e7fa (diff) | |
download | rneovim-57c66bc168cb30a483b9fd13cb13e35bea5491bc.tar.gz rneovim-57c66bc168cb30a483b9fd13cb13e35bea5491bc.tar.bz2 rneovim-57c66bc168cb30a483b9fd13cb13e35bea5491bc.zip |
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.
-rwxr-xr-x | scripts/pvscheck.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |