exit loop at fail

pull/10/head
Chris Cromer 4 years ago
parent b1a97f34d9
commit a6731de4cd
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A
  1. 2
      test/test.c

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

Loading…
Cancel
Save