Re: [PATCH v2] efi_loader: Disable ANSI output for tests

2025-05-11 Thread Simon Glass
Hi Tom, On Sat, 10 May 2025 at 17:05, Tom Rini wrote: > > On Sat, May 10, 2025 at 02:54:38PM +0200, Simon Glass wrote: > > We don't want ANSI escape-sequences written in tests since it is a pain > > to check the output with ut_assert_nextline() et al. > > > > Provide a way to tests to request tha

Re: [PATCH v2] efi_loader: Disable ANSI output for tests

2025-05-10 Thread Tom Rini
On Sat, May 10, 2025 at 02:54:38PM +0200, Simon Glass wrote: > We don't want ANSI escape-sequences written in tests since it is a pain > to check the output with ut_assert_nextline() et al. > > Provide a way to tests to request that these characters not be sent. > > Add a proper function comment

[PATCH v2] efi_loader: Disable ANSI output for tests

2025-05-10 Thread Simon Glass
We don't want ANSI escape-sequences written in tests since it is a pain to check the output with ut_assert_nextline() et al. Provide a way to tests to request that these characters not be sent. Add a proper function comment while we are here, to encourage others. Signed-off-by: Simon Glass ---