From: Michael Tremer Date: Fri, 12 Aug 2022 10:11:25 +0000 (+0000) Subject: tests: Actually run them all when we want all X-Git-Tag: 0.9.28~517 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e764d33fdaec9a34cbca6114d5c21274acbe56e;p=pakfire.git tests: Actually run them all when we want all Signed-off-by: Michael Tremer --- diff --git a/tests/testsuite.c b/tests/testsuite.c index 417a60b9e..e90fd6f1a 100644 --- a/tests/testsuite.c +++ b/tests/testsuite.c @@ -113,7 +113,7 @@ int __testsuite_add_test(const char* name, int (*func)(const struct test* t)) { static int check_whether_to_run(const struct test* t, const int argc, const char* argv[]) { // Run all tests when nothing has been selected if (argc < 2) - return 0; + return 1; // Check if this test has been listed for (unsigned int i = 1; i < argc; i++) {