[LTP] LTP in valgrind :)

Petr Vorel pvorel@suse.cz
Mon May 5 21:52:12 CEST 2025


> Hi!
> > > It also opens some interesting questions, i.e. how do we make comparing
> > > results from two different tests easier. Currently they grep the test
> > > results for a summary, but maybe we can do better.

> > One option is to extract all TPASS/TFAIL/TWARN/TBROK/TCONF messages, 
> > discard any message contents past the file:line header and then compare 
> > whether the sanitized output is identical. That'll take care of random 
> > values in the output while ensuring that the test went through the same 
> > code paths as before. We could provide a sanitizer script for that.

> Maybe we can even add an option to the test library to supress the
> messages in output, that would be fairly simple.

+1

And Cc the authors :).

Kind regards,
Petr


More information about the ltp mailing list