* [PATCH] test: Expand tmux right status bar to fit pass/fail/skipped counter and time
@ 2025-12-04 22:03 Stefano Brivio
2025-12-05 2:54 ` David Gibson
0 siblings, 1 reply; 2+ messages in thread
From: Stefano Brivio @ 2025-12-04 22:03 UTC (permalink / raw)
To: passt-dev; +Cc: Laurent Vivier
I recently realised I couldn't see seconds elapsing in asciinema test
recordings. That's because now that we display a SKIPPED counter, we
need some extra room for characters, 64 in total:
PASS: xxx | FAIL: xxx | SKIPPED: xxx | YYYY-MM-DDThh:mm:ss+00:00
Fixes: 4234ace84cdf ("test: Display count of skipped tests in status and summary")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
---
test/lib/term | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/lib/term b/test/lib/term
index 79aa2b7..f596364 100755
--- a/test/lib/term
+++ b/test/lib/term
@@ -707,7 +707,7 @@ term() {
tmux set window-status-current-style 'bg=colour1 fg=colour233 bold'
tmux set status-right '#(TZ="UTC" date -Iseconds)'
- tmux set status-right-length 50
+ tmux set status-right-length 64
tmux set status-right-style 'bg=colour1 fg=colour233 bold'
tmux set history-limit 500000
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] test: Expand tmux right status bar to fit pass/fail/skipped counter and time
2025-12-04 22:03 [PATCH] test: Expand tmux right status bar to fit pass/fail/skipped counter and time Stefano Brivio
@ 2025-12-05 2:54 ` David Gibson
0 siblings, 0 replies; 2+ messages in thread
From: David Gibson @ 2025-12-05 2:54 UTC (permalink / raw)
To: Stefano Brivio; +Cc: passt-dev, Laurent Vivier
[-- Attachment #1: Type: text/plain, Size: 1316 bytes --]
On Thu, Dec 04, 2025 at 11:03:31PM +0100, Stefano Brivio wrote:
> I recently realised I couldn't see seconds elapsing in asciinema test
> recordings. That's because now that we display a SKIPPED counter, we
> need some extra room for characters, 64 in total:
>
> PASS: xxx | FAIL: xxx | SKIPPED: xxx | YYYY-MM-DDThh:mm:ss+00:00
>
> Fixes: 4234ace84cdf ("test: Display count of skipped tests in status and summary")
> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
> ---
> test/lib/term | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test/lib/term b/test/lib/term
> index 79aa2b7..f596364 100755
> --- a/test/lib/term
> +++ b/test/lib/term
> @@ -707,7 +707,7 @@ term() {
>
> tmux set window-status-current-style 'bg=colour1 fg=colour233 bold'
> tmux set status-right '#(TZ="UTC" date -Iseconds)'
> - tmux set status-right-length 50
> + tmux set status-right-length 64
> tmux set status-right-style 'bg=colour1 fg=colour233 bold'
>
> tmux set history-limit 500000
> --
> 2.43.0
>
--
David Gibson (he or they) | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you, not the other way
| around.
http://www.ozlabs.org/~dgibson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-12-05 3:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-04 22:03 [PATCH] test: Expand tmux right status bar to fit pass/fail/skipped counter and time Stefano Brivio
2025-12-05 2:54 ` David Gibson
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).