From 2e764d33fdaec9a34cbca6114d5c21274acbe56e Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 12 Aug 2022 10:11:25 +0000 Subject: [PATCH] tests: Actually run them all when we want all Signed-off-by: Michael Tremer --- tests/testsuite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testsuite.c b/tests/testsuite.c index 417a60b9..e90fd6f1 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++) { -- 2.47.3