[OE-core] [PATCH 01/14] oeqa/core/loader.py: support the 'auto' keyword

Alexander Kanavin alex.kanavin at gmail.com
Thu May 31 13:57:38 UTC 2018


2018-05-31 11:32 GMT+03:00 Chen Qi <Qi.Chen at windriver.com>:
> In previous OEQA, having 'auto' in TEST_SUITES results in executing
> as many test cases as possible.
>
> This behaviour is broken for now. From the codes in core/loader.py,
> I can see that it tries to use another keyword 'all'. But in fact,
> it does not work.
>
> I've checked the current manual. The manual says using 'auto'.
> Below is the current information in manual.
>
>   """
>   Alternatively, you can provide the "auto" option to have all applicable
>   tests run against the image.
>
>   TEST_SUITES_append = " auto"
>   """
>
> So we should restore this behaviour. This patch does so.

Nice! Can we also try to simplify the setting of DEFAULT_TEST_SUITES
in testimage.bbclass using this keyword? Right now it's basically
manually created lists, which tend to go out of date.

Alex



More information about the Openembedded-core mailing list