exit loop at fail

This commit is contained in:
Chris Cromer 2018-11-12 14:19:47 -03:00
parent b1a97f34d9
commit a6731de4cd
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A

View File

@ -71,6 +71,7 @@ int main(int argc, char **argv) {
fprintf(stdout, "fail\n"); fprintf(stdout, "fail\n");
failed++; failed++;
pass = 0; pass = 0;
break;
} }
} }
if (pass) { if (pass) {
@ -96,6 +97,7 @@ int main(int argc, char **argv) {
fprintf(stdout, "fail\n"); fprintf(stdout, "fail\n");
failed++; failed++;
pass = 0; pass = 0;
break;
} }
} }
if (pass) { if (pass) {