Commit 6906a7c1 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Return error code is any tests fail.

parent 774ccae6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
}