Re: [PATCH v4 3/3] printf: implicate test line in failure messages

2025-02-19 Thread Rasmus Villemoes
On Fri, 14 Feb 2025 at 22:53, Tamir Duberstein wrote: > > This improves the failure output by pointing to the failing line at the > top level of the test, e.g.: > # test_number: EXPECTATION FAILED at lib/printf_kunit.c:103 > lib/printf_kunit.c:167: vsnprintf(buf, 256, "%#-12x", ...) wrote

Re: [PATCH v4 3/3] printf: implicate test line in failure messages

2025-02-19 Thread Tamir Duberstein
On Wed, Feb 19, 2025 at 3:41 PM Rasmus Villemoes wrote: > > On Fri, 14 Feb 2025 at 22:53, Tamir Duberstein wrote: > > > > This improves the failure output by pointing to the failing line at the > > top level of the test, e.g.: > > # test_number: EXPECTATION FAILED at lib/printf_kunit.c:103

[PATCH v4 3/3] printf: implicate test line in failure messages

2025-02-14 Thread Tamir Duberstein
This improves the failure output by pointing to the failing line at the top level of the test, e.g.: # test_number: EXPECTATION FAILED at lib/printf_kunit.c:103 lib/printf_kunit.c:167: vsnprintf(buf, 256, "%#-12x", ...) wrote '0x1234abcd ', expected '0x1234abce ' # test_number: EXP