exit loop at fail
This commit is contained in:
parent
b1a97f34d9
commit
a6731de4cd
@ -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…
Reference in New Issue
Block a user