pvs: Exclude xdiff from analysis and comment munging

This commit is contained in:
James McCoy committed 2020-11-10 10:00:25 -05:00
1 parent 65993c444a
commit 088161a945
1 file changed
+2 -1
+2 -1
View File
@@ -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