Return error code is any tests fail.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 10 Feb 2015 15:53:56 +0000 (15:53 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 13 Feb 2015 13:28:50 +0000 (13:28 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/evp/evp_test.c

index 686ca7c5597fab52c2ddf0673a73a4c0f6dee0bd..83a9372bf55f758a0e2e2bb5a9425cb68fafde63 100644 (file)
@@ -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;
 }