[LTP] [PATCH v7 1/1] mmapstress01: refactor to tst_test framework

Richard Palethorpe rpalethorpe@suse.de
Mon Nov 14 11:00:35 CET 2022


Hello,

Petr Vorel <pvorel@suse.cz> writes:

> Hi all,
>
>> Thanks for your work! FYI 2 tiny problems sneaked in, see below.
>
>> runtest/mm contained -t 0.20 option, which caused failure. Fixed in:
>> https://github.com/linux-test-project/ltp/commit/36321277a294c0467219f650fd76aa1a8d310c1d
>
> @Richie This would be even more important to check automatically. If you're able
> to in sparse list test parameters and whether they expect value or are standalone,
> adding process to grep in runtest files should not be hard. WDYT?

Again this is producing meta data with Sparse. I guess it would also be
AST level (i.e. not linearized IR byte code) which Sparse is not that
great at.

Probably this would not be hard to do with a reasonable SA framework.

It is a good idea though, I'm just grumpy about the implementation.

>
> Kind regards,
> Petr


-- 
Thank you,
Richard.


More information about the ltp mailing list