[LTP] [PATCH 0/2] Add shell test metadata parser

Ricardo B. Marlière ricardo@marliere.net
Thu Feb 13 13:41:05 CET 2025


Hello!

On Wed Feb 12, 2025 at 10:16 AM -03, Cyril Hrubis wrote:
> As promised this adds metadata parser for the shell testcases. In the
> end I wrote it in about 100 lines of C because the ekvivalent awk script
> would be too complicated.
>
> Cyril Hrubis (2):
>   metaparse: Add shell test parser
>   metaparse: data_storage: Fix warning
>
>  metadata/.gitignore     |   1 +
>  metadata/Makefile       |   4 +-
>  metadata/data_storage.h |   2 +-
>  metadata/metaparse-sh.c | 127 ++++++++++++++++++++++++++++++++++++++++
>  metadata/parse.sh       |  13 ++++
>  5 files changed, 144 insertions(+), 3 deletions(-)
>  create mode 100644 metadata/metaparse-sh.c

For the series:

Reviewed-by: Ricardo B. Marlière <ricardo@marliere.net>
Tested-by: Ricardo B. Marlière <ricardo@marliere.net>

So, currently there's only testcases/kernel/mem/vma/vma05.sh and the
goal is to add metadata to all *.sh tests, correct?

Thanks,
-	Ricardo.




More information about the ltp mailing list