From 830b30814a0079d9689261c8916692cf7e9dfd56 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 13 Mar 2025 11:49:13 +0100 Subject: [PATCH] test-execute: prominently show which test we are about to enter (cherry picked from commit 66c2a2e42ac5d6cbd526f4bba31dcd3218550cde) --- src/test/test-execute.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/test-execute.c b/src/test/test-execute.c index de575ec1e6d..ddb6ef3d743 100644 --- a/src/test/test-execute.c +++ b/src/test/test-execute.c @@ -1416,9 +1416,10 @@ static void run_tests(RuntimeScope scope, char **patterns) { start = now(CLOCK_MONOTONIC); for (const test_entry *test = tests; test->f; test++) - if (strv_fnmatch_or_empty(patterns, test->name, FNM_NOESCAPE)) + if (strv_fnmatch_or_empty(patterns, test->name, FNM_NOESCAPE)) { + log_info("Starting %s.", test->name); test->f(m); - else + } else log_info("Skipping %s because it does not match any pattern.", test->name); finish = now(CLOCK_MONOTONIC); -- 2.47.3