mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
test-execute: prominently show which test we are about to enter
This commit is contained in:
parent
2544075c0b
commit
66c2a2e42a
@ -1420,9 +1420,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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user