fix: amd64/clang/coverage.sh
	
		
			
	
		
	
	
		
	
		
			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
							
								
									688c88f255
								
							
						
					
					
						commit
						bf485e354a
					
				
					 1 changed files with 1 additions and 6 deletions
				
			
		| 
						 | 
					@ -16,14 +16,9 @@ conan build . \
 | 
				
			||||||
    -o enable_llvm_coverage=True \
 | 
					    -o enable_llvm_coverage=True \
 | 
				
			||||||
    --build=missing
 | 
					    --build=missing
 | 
				
			||||||
 | 
					
 | 
				
			||||||
for test in $(find ./build -type f -name '*_tests' -executable); do
 | 
					 | 
				
			||||||
  echo "Running $test"
 | 
					 | 
				
			||||||
  "$test"
 | 
					 | 
				
			||||||
done
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
mkdir -p ./build/coverage/ 
 | 
					mkdir -p ./build/coverage/ 
 | 
				
			||||||
for test in $(find ./build -type f -name '*_tests' -executable); do
 | 
					for test in $(find ./build -type f -name '*_tests' -executable); do
 | 
				
			||||||
    export LLVM_PROFILE_FILE="./build/coverage/$(basename "$(dirname "{}")").profraw";
 | 
					    export LLVM_PROFILE_FILE="./build/coverage/$(basename "$(dirname "$test")").profraw";
 | 
				
			||||||
    echo ${LLVM_PROFILE_FILE} >> ./build/coverage/list;
 | 
					    echo ${LLVM_PROFILE_FILE} >> ./build/coverage/list;
 | 
				
			||||||
    "$test"
 | 
					    "$test"
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue