mirror of
				https://github.com/XRPLF/rippled.git
				synced 2025-11-04 11:15:56 +00:00 
			
		
		
		
	chore: Add unit tests dir to code coverage excludes (#5803)
This change excludes unit test code from code coverage reporting.
This commit is contained in:
		@@ -33,5 +33,6 @@ slack_app: false
 | 
			
		||||
 | 
			
		||||
ignore:
 | 
			
		||||
  - "src/test/"
 | 
			
		||||
  - "src/tests/"
 | 
			
		||||
  - "include/xrpl/beast/test/"
 | 
			
		||||
  - "include/xrpl/beast/unit_test/"
 | 
			
		||||
 
 | 
			
		||||
@@ -33,7 +33,7 @@ setup_target_for_coverage_gcovr(
 | 
			
		||||
  FORMAT ${coverage_format}
 | 
			
		||||
  EXECUTABLE rippled
 | 
			
		||||
  EXECUTABLE_ARGS --unittest$<$<BOOL:${coverage_test}>:=${coverage_test}> --unittest-jobs ${coverage_test_parallelism} --quiet --unittest-log
 | 
			
		||||
  EXCLUDE "src/test" "include/xrpl/beast/test" "include/xrpl/beast/unit_test" "${CMAKE_BINARY_DIR}/pb-xrpl.libpb"
 | 
			
		||||
  EXCLUDE "src/test" "src/tests" "include/xrpl/beast/test" "include/xrpl/beast/unit_test" "${CMAKE_BINARY_DIR}/pb-xrpl.libpb"
 | 
			
		||||
  DEPENDENCIES rippled
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user