public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Stefano Brivio <sbrivio@redhat.com>
Cc: passt-dev@passt.top, Laurent Vivier <lvivier@redhat.com>
Subject: Re: [PATCH] test: Expand tmux right status bar to fit pass/fail/skipped counter and time
Date: Fri, 5 Dec 2025 13:54:58 +1100	[thread overview]
Message-ID: <aTJJgvR6HQzeBDIw@zatzit> (raw)
In-Reply-To: <20251204220331.2268483-1-sbrivio@redhat.com>

[-- 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 --]

      reply	other threads:[~2025-12-05  3:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-04 22:03 Stefano Brivio
2025-12-05  2:54 ` David Gibson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aTJJgvR6HQzeBDIw@zatzit \
    --to=david@gibson.dropbear.id.au \
    --cc=lvivier@redhat.com \
    --cc=passt-dev@passt.top \
    --cc=sbrivio@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).