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 686ca7c..83a9372 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;
 }