Skip to content

Generate runtest/cve from metadata info #1253

@pevik

Description

@pevik

@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/aJsu4qw72EZiKnSP@yuki.lan/
https://lore.kernel.org/ltp/aJsg11G8hOAqoGkw@yuki.lan/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions