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");
|
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user