ci: fix llvm-cov -ignore-filename-regex pattern
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		
							parent
							
								
									46505a6c24
								
							
						
					
					
						commit
						8720fdcebf
					
				
					 5 changed files with 4 additions and 3 deletions
				
			
		|  | @ -1,2 +1,2 @@ | |||
| add_library_module(test test.cpp entrypoint.cpp) | ||||
| add_test_module(test test.tests.cpp) | ||||
| add_test_module(test test.test.cpp) | ||||
|  |  | |||
|  | @ -1,3 +1,3 @@ | |||
| add_library_module(time timer.cpp) | ||||
| add_test_module(time timer.tests.cpp) | ||||
| add_test_module(time timer.test.cpp) | ||||
| 
 | ||||
|  |  | |||
|  | @ -29,7 +29,8 @@ LLVM_COV_SHOW=$(llvm-cov show \ | |||
|         -instr-profile='./build/coverage/merged.profdata' \ | ||||
|         $(find ./build -type f -name '*_tests' -executable -exec printf -- '-object %s ' {} \;) \ | ||||
|         $(find ./build -type f -name '*\.a' -exec printf -- '-object %s ' {} \;) \ | ||||
|         -ignore-filename-regex="*.test.cpp|./external*" | ||||
|         -ignore-filename-regex='\.test\.cpp$' \ | ||||
|         -ignore-filename-regex='./external/' | ||||
| ) | ||||
| 
 | ||||
| echo "${LLVM_COV_SHOW}" > './build/coverage/coverage.txt' | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue