[PATCH 2/3] test/eal_flags: add line numbers to error messages
Bruce Richardson
bruce.richardson at intel.com
Tue Jan 20 16:22:18 CET 2026
On Tue, Jan 20, 2026 at 07:03:58AM -0800, Stephen Hemminger wrote:
> On Tue, 20 Jan 2026 11:25:51 +0000
> Bruce Richardson <bruce.richardson at intel.com> wrote:
>
> > To aid in debugging any problems, and because there are sometimes
> > multiple very similar error messages in tests, add line numbers to the
> > error message printouts.
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
>
> Alternative but not required would be to the TEST_ASSERT macros
> which have file and line.
Yep. Agreed it would be better. However, for this patch I decided just to
add line numbers directly to minize churn to the code.
/Bruce
More information about the dev
mailing list