Return error code is any tests fail.
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
774ccae63c
commit
6906a7c1a3
1 changed files with 2 additions and 0 deletions
|
@ -374,6 +374,8 @@ int main(int argc, char **argv)
|
|||
fprintf(stderr, "%d tests completed with %d errors\n",
|
||||
t.ntests, t.errors);
|
||||
fclose(in);
|
||||
if (t.errors)
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue