File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -371,19 +371,19 @@ def job(t, args):
371
371
for future in as_completed (jobs ):
372
372
output , result , target = future .result ()
373
373
logging .debug (output )
374
- if using_libfuzzer :
375
- done_stat = [l for l in output .splitlines () if "DONE" in l ]
376
- assert len (done_stat ) == 1
377
- stats .append ((target , done_stat [0 ]))
378
374
try :
379
375
result .check_returncode ()
380
376
except subprocess .CalledProcessError as e :
381
377
if e .stdout :
382
378
logging .info (e .stdout )
383
379
if e .stderr :
384
380
logging .info (e .stderr )
385
- logging .info (f"Target { result . args } failed with exit code { e .returncode } " )
381
+ logging .info (f"⚠️ Failure generated from target with exit code { e .returncode } : { result . args } " )
386
382
sys .exit (1 )
383
+ if using_libfuzzer :
384
+ done_stat = [l for l in output .splitlines () if "DONE" in l ]
385
+ assert len (done_stat ) == 1
386
+ stats .append ((target , done_stat [0 ]))
387
387
388
388
if using_libfuzzer :
389
389
print ("Summary:" )
You can’t perform that action at this time.
0 commit comments