ci: modify amd64/gcc/valgrind script
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is failing
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	continuous-integration/drone/push Build is failing
				
			This commit is contained in:
		
							parent
							
								
									ad5d961d33
								
							
						
					
					
						commit
						9b0acc1cc3
					
				
					 1 changed files with 12 additions and 1 deletions
				
			
		|  | @ -14,4 +14,15 @@ conan build . \ | |||
|   -o use_mold=True \ | ||||
|   --build=missing | ||||
| 
 | ||||
| find ./build -type f -name "*_tests" -executable | xargs -I {} bash -c 'valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --error-exitcode=255 {}' || exit 1 | ||||
| 
 | ||||
| for test in $(find ./build -type f -name '*_tests' -executable); do | ||||
|   echo "Running $test" | ||||
| 
 | ||||
|   valgrind \ | ||||
|       --leak-check=full \ | ||||
|       --show-leak-kinds=all \ | ||||
|       --track-origins=yes \ | ||||
|       --verbose \ | ||||
|       --error-exitcode=255  \ | ||||
|       ${test} || exit 1 | ||||
| done | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue