ltp icon indicating copy to clipboard operation
ltp copied to clipboard

Generate runtest/cve from metadata info

Open pevik opened this issue 3 months ago • 0 comments

@metan-ucw suggested to generate runtest/cve from metadata info could be a first step to move from static runtest files.

@metan-ucw found that it would require to storetest variants (do not confuse with test_variants in the current C API) into the metadata, because some CVE tests have command line options (setsockopt08 -i 100, request_key03 -b cve-2017-15299). The question is how to make this info unique enough, maybe something like extra_opts array.

Instead of putting the info into ltp.json and parsing it again it might be easier create runtest/cve directly in metadata parser while creating ltp.json.

https://lore.kernel.org/ltp/[email protected]/ https://lore.kernel.org/ltp/[email protected]/

pevik avatar Aug 18 '25 05:08 pevik