make: nonzero exit when afl_quick detects crashes
ci job still goes green when fuzzing fails, otherwise
This commit is contained in:
		
					parent
					
						
							
								5e2d567a54
							
						
					
				
			
			
				commit
				
					
						7fcc802415
					
				
			
		
					 1 changed files with 1 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
					@ -74,6 +74,7 @@ afl_quick:
 | 
				
			||||||
		cargo afl build --no-default-features --release --config profile.release.debug-assertions=true && \
 | 
							cargo afl build --no-default-features --release --config profile.release.debug-assertions=true && \
 | 
				
			||||||
		AFL_NO_UI=1 AFL_BENCH_UNTIL_CRASH=1 \
 | 
							AFL_NO_UI=1 AFL_BENCH_UNTIL_CRASH=1 \
 | 
				
			||||||
			cargo afl fuzz -i in -o out -V 60 target/release/${AFL_TARGET})
 | 
								cargo afl fuzz -i in -o out -V 60 target/release/${AFL_TARGET})
 | 
				
			||||||
 | 
						[ -z "$$(find tests/afl/out/default/crashes -type f -name 'id:*')" ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
afl_crash:
 | 
					afl_crash:
 | 
				
			||||||
	set +e; \
 | 
						set +e; \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue