]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/core/loader.py: support the 'auto' keyword
authorChen Qi <Qi.Chen@windriver.com>
Fri, 1 Jun 2018 05:02:58 +0000 (13:02 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 2 Jul 2018 09:40:34 +0000 (10:40 +0100)
commit8c247f5141f15160d670b49d9963f4143faedff5
tree914607fc01e16edbc61caae9c7751879a652f7fd
parent941bf7bc40e11cbe9e68ccf14155196713709558
oeqa/core/loader.py: support the 'auto' keyword

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.

Also, output warning message is some module is named as 'auto', as this
is a reserved keyword.

(From OE-Core rev: a65460a063a958cc887c756db5f7ab18e3f5a8c1)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/lib/oeqa/core/loader.py