From 088161a9459a6afed84ea07ef28912e2489bc286 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Tue, 10 Nov 2020 09:52:45 -0500 Subject: pvs: Exclude xdiff from analysis and comment munging --- scripts/pvscheck.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/pvscheck.sh') diff --git a/scripts/pvscheck.sh b/scripts/pvscheck.sh index 1efde4223d..f054f6e6fe 100755 --- a/scripts/pvscheck.sh +++ b/scripts/pvscheck.sh @@ -346,7 +346,7 @@ patch_sources() {( if test "$only_build" != "--only-build" ; then find \ src/nvim test/functional/fixtures test/unit/fixtures \ - -name '*.c' \ + \( -name '*.c' -a '!' -path '*xdiff*' \) \ -exec /bin/sh -c "$sh_script" - '{}' \; fi @@ -373,6 +373,7 @@ run_analysis() {( analyze \ --lic-file PVS-Studio.lic \ --threads "$(get_jobs_num)" \ + --exclude-path src/nvim/xdiff \ --output-file PVS-studio.log \ --file build/compile_commands.json \ --sourcetree-root . || true -- cgit