Re: [PATCH] tests: improve readability

Bart Schaefer <[email protected]>
Newsgroups gmane.comp.shells.zsh.devel
Message-ID <CAH+w=7a4Nz_EWepCwQeRB9ip95d6ecgJBA5Z-_jmmKEgN8Bh5A@mail.gmail.com>
On Fri, Jun 5, 2026 at 10:14 AM Philippe Altherr
<[email protected]> wrote:
>>
>> My recommendations/wishes:
>>
>> Put at least the main summary line and the star lines in bold
>> Use more fine grained coloring for the summary line (see results of my sed command)
>> Put the star lines in red if there are any failures and otherwise in green (and maybe in cyan if there are only skipped files)
>
> I forgot the most useful: use a third color to highlight messages, like ones for skipped test files/cases, that are neither error nor success messages. Without highlighting, I have a hard time noticing these messages.
>
> Philippe
>

My only input on this:

Please do take non-interactive builds into account.  We've had people
who build binary distribution packages report issues with the test
suit before.

Rather than make a lot of changes to the test output itself, maybe
create something like Philippe's sed as a coprocess to filter the
output (and then using that only for interactive sessions).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.