From 052e1a4252fce80ea95af449c63d14b8b42287ee Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Sat, 10 Oct 2026 14:22:42 +0200 Subject: [PATCH] gc_bba_test: shorten the driver-shapes suite description to fit the row "Swiss + libogc init sequences and transfer shapes" is 49 characters and wrapped by exactly one. The menu row is 28 columns of prefix -- " " + name(%-14s) + " " + "pp/ff/kk" + " " -- and the console is 76 wide (console_init starts at x=20 on a 640-pixel framebuffer at 8 pixels per character), leaving 48. Now "Swiss + libogc init and transfer shapes", 39 characters, in line with the 41 of the longest original. Added a comment above g_suites with the 48-column budget and where it comes from, so the next suite does not rediscover it by wrapping on a console. Co-Authored-By: Claude Opus 5 --- gc_bba_test/source/tests.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gc_bba_test/source/tests.c b/gc_bba_test/source/tests.c index 41b0c34..4b9479c 100644 --- a/gc_bba_test/source/tests.c +++ b/gc_bba_test/source/tests.c @@ -684,6 +684,11 @@ static test_t s_init[] = { {"TX without TWD","libogc never writes TWD; length must be counted", t_tx_no_twd, T_PENDING, {0}}, }; +/* ⚠️ `what` is at most 48 characters. The menu row in main.c is + * " " + name(%-14s) + " " + "pp/ff/kk" + " " + what + * = 28 columns of prefix, and the console is 76 wide (console_init starts at + * x=20 on a 640-pixel framebuffer, 8 pixels per character). At 49 the last + * character wraps. Keep these around 41, the longest of the originals. */ suite_t g_suites[] = { {"Identity", "device enumerates and reports itself", s_identity, 3}, {"Registers", "register file is readable and writable", s_regs, 4}, @@ -691,7 +696,7 @@ suite_t g_suites[] = { {"EXI integrity", "the EXI link is error-free, and how fast", s_exi, 6}, {"Ethernet", "frames get to and from the W5100", s_eth, 3}, {"SPRAM/DMA", "bulk reads stream correctly from the ring", s_spram, 2}, - {"driver shapes", "Swiss + libogc init sequences and transfer shapes", s_init, 5}, + {"driver shapes", "Swiss + libogc init and transfer shapes", s_init, 5}, }; const int g_nsuites = sizeof(g_suites) / sizeof(g_suites[0]);