[PATCH] buildtools/get-test-suites.py: muti-line macros
Thomas Monjalon
thomas at monjalon.net
Sun Jun 29 22:44:52 CEST 2025
18/06/2025 14:39, Marat Khalili:
> Test list is currently generated by scanning all files for macros
> starting with `REGISTER_` and ending with `_TEST`. Unfortunately, this
> was done line-by-line, and macros split into several lines were silently
> ignored resulting in tests being excluded from test suites without any
> warning.
>
> Make regular expression multiline, capturing everything until the
> closing parenthesis. (There should be no nested parentheses due to the
> nature of the arguments these macros accept.)
>
> The rest of the functionality stays the same. The result was manually
> compared to be identical to the previous version.
>
> Signed-off-by: Marat Khalili <marat.khalili at huawei.com>
Applied, thanks.
More information about the dev
mailing list