]> git.droids-corp.org - protos/libecoli.git/blobdiff - lib/ecoli_test.c
fix err on test failure
[protos/libecoli.git] / 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;
 }