]> git.droids-corp.org - protos/libecoli.git/commitdiff
fix err on test failure
authorOlivier Matz <zer0@droids-corp.org>
Thu, 3 Aug 2017 20:30:02 +0000 (22:30 +0200)
committerOlivier Matz <zer0@droids-corp.org>
Thu, 3 Aug 2017 20:30:02 +0000 (22:30 +0200)
lib/ecoli_test.c

index 6bd0fa3e9ade3c92ad83feaea1bb7ce508599811..31083242456cb854cebf5406476239ec17220706 100644 (file)
@@ -201,8 +201,10 @@ static int launch_test(const char *name)
                }
        }
 
-       if (name != NULL && count == 0)
+       if (name != NULL && count == 0) {
                ec_log(EC_LOG_WARNING, "== test %s not found\n", name);
+               ret = -1;
+       }
 
        return ret;
 }