Compare commits
	
		
			2 commits
		
	
	
		
			9cbebaef06
			...
			38ec10f4fd
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 38ec10f4fd | |||
| 00332ee958 | 
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -35,16 +35,16 @@ for test in $(find ./build -type f -name '*_tests' -executable); do
 | 
			
		|||
    "$test"
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
llvm-profdata merge --input-files './coverage/list' -o "./coverage/merged.profdata" 
 | 
			
		||||
llvm-profdata merge --input-files './build/coverage/list' -o "./coverage/merged.profdata" 
 | 
			
		||||
find ./build/modules -type f -name "*.profraw" -exec rm -fv {} +
 | 
			
		||||
 | 
			
		||||
LLVM_COV_SHOW=$(llvm-cov show \
 | 
			
		||||
        -instr-profile='./coverage/merged.profdata' \
 | 
			
		||||
        -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$' \
 | 
			
		||||
        -ignore-filename-regex='\.fuzz\.cpp$'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
echo "${LLVM_COV_SHOW}" > './coverage/coverage.txt'
 | 
			
		||||
wget -qO- "https://codecov.io/bash" | bash
 | 
			
		||||
echo "${LLVM_COV_SHOW}" > './build/coverage/coverage.txt'
 | 
			
		||||
cd ./build/coverage/ && wget -qO- "https://codecov.io/bash" | bash
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue