Skip to content

Commit

Permalink
Fail at the end mode (ALL=1) doesn't return 1 on failed tests #24
Browse files Browse the repository at this point in the history
  • Loading branch information
xonixx committed Dec 11, 2024
1 parent fd04de7 commit ccdecc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fhtagn.awk
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function fhtagn( i,file,err,l,code,nr,line,random,exitCode,stdOutF,stdErrF,tes
}
if (All) {
printf "result=%s, failure=%d, success=%d, total=%d, files=%d\n", Failed ? "FAIL" : "SUCCESS", Failed, Success, Failed + Success, i - 1
if (Failed) exit 1
exit !!Failed
}
}
function die(err) { print err > "/dev/stderr"; exit 2 }
Expand Down

0 comments on commit ccdecc8

Please sign in to comment.