[ci][fuzzer] print valgrind failure if an error happened

This commit is contained in:
Ebrahim Byagowi 2019-07-19 10:33:00 +04:30 committed by GitHub
parent 2bd953ff4f
commit bdfdac0f26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 17 deletions

View File

@ -89,7 +89,7 @@ for file in os.listdir (parent_path):
if 'error' in text: if 'error' in text:
returncode = 1 returncode = 1
if not valgrind and text.strip (): if (not valgrind or returncode) and text.strip ():
print (text) print (text)
if returncode != 0: if returncode != 0: