mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	pvs: Exclude xdiff from analysis and comment munging
This commit is contained in:
		| @@ -346,7 +346,7 @@ patch_sources() {( | |||||||
|   if test "$only_build" != "--only-build" ; then |   if test "$only_build" != "--only-build" ; then | ||||||
|     find \ |     find \ | ||||||
|       src/nvim test/functional/fixtures test/unit/fixtures \ |       src/nvim test/functional/fixtures test/unit/fixtures \ | ||||||
|       -name '*.c' \ |       \( -name '*.c' -a '!' -path '*xdiff*' \) \ | ||||||
|       -exec /bin/sh -c "$sh_script" - '{}' \; |       -exec /bin/sh -c "$sh_script" - '{}' \; | ||||||
|   fi |   fi | ||||||
|  |  | ||||||
| @@ -373,6 +373,7 @@ run_analysis() {( | |||||||
|     analyze \ |     analyze \ | ||||||
|       --lic-file PVS-Studio.lic \ |       --lic-file PVS-Studio.lic \ | ||||||
|       --threads "$(get_jobs_num)" \ |       --threads "$(get_jobs_num)" \ | ||||||
|  |       --exclude-path src/nvim/xdiff \ | ||||||
|       --output-file PVS-studio.log \ |       --output-file PVS-studio.log \ | ||||||
|       --file build/compile_commands.json \ |       --file build/compile_commands.json \ | ||||||
|       --sourcetree-root . || true |       --sourcetree-root . || true | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 James McCoy
					James McCoy