From a6731de4cdeeffc0d04fa079dee1e12ecb334055 Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Mon, 12 Nov 2018 14:19:47 -0300 Subject: [PATCH] exit loop at fail --- test/test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test.c b/test/test.c index d0513af..c79ec27 100644 --- a/test/test.c +++ b/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) { -- 2.30.2