mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
pvscheck.sh: do not set --sourcetree-root [ci skip]
System headers should be ignored by PVS, but somehow aren't. See also: https://stackoverflow.com/q/44906903
This commit is contained in:
parent
8a5c68f695
commit
391f0c1ce7
@ -371,10 +371,10 @@ run_analysis() {(
|
||||
--output-file PVS-studio.log \
|
||||
--verbose \
|
||||
--file build/compile_commands.json \
|
||||
--sourcetree-root . || true
|
||||
|| true
|
||||
|
||||
rm -rf PVS-studio.{xml,err,tsk,html.d}
|
||||
local plog_args="PVS-studio.log --srcRoot . --excludedCodes V011 --exclude-path stddef.h --exclude-path stdarg.h"
|
||||
local plog_args="PVS-studio.log --srcRoot . --excludedCodes V011"
|
||||
plog-converter $plog_args --renderTypes xml --output PVS-studio.xml
|
||||
plog-converter $plog_args --renderTypes errorfile --output PVS-studio.err
|
||||
plog-converter $plog_args --renderTypes tasklist --output PVS-studio.tsk
|
||||
@ -473,8 +473,6 @@ main() {
|
||||
return 0
|
||||
fi
|
||||
|
||||
# set -x
|
||||
|
||||
if test -n "$patch" ; then
|
||||
patch_sources "$tgt" "$only_build"
|
||||
elif test -n "$pvs_install" ; then
|
||||
|
Loading…
Reference in New Issue
Block a user