diff mbox series

[fbtest,02/17] tests: Print test description in debug mode

Message ID 20241215104508.191237-3-geert@linux-m68k.org (mailing list archive)
State Handled Elsewhere
Headers show
Series Export feature and large ellipses support | expand

Commit Message

Geert Uytterhoeven Dec. 15, 2024, 10:44 a.m. UTC
Print not only the test name, but also the test description.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 tests.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tests.c b/tests.c
index c92236f869f41594..b1573032372e8090 100644
--- a/tests.c
+++ b/tests.c
@@ -55,7 +55,7 @@  static void run_one_test(const struct test *test)
 {
     enum test_res res;
 
-    Debug("Running test %s\n", test->name);
+    Debug("Running test %s (%s)\n", test->name, test->desc);
 
     if (test->visual != VISUAL_NONE && !visual_set(test->visual)) {
 	Debug("Visual %d not supported\n", test->visual);