]> code.ossystems Code Review - openembedded-core.git/commit
runtime/cases/ptest.py: do not require ptest-pkgs in IMAGE_FEATURES; run only when...
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Thu, 4 Jan 2018 12:13:44 +0000 (14:13 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Jan 2018 11:54:56 +0000 (11:54 +0000)
commite07a2b9c2b08a465baeaaca86461e07817f84a52
treeebf0dec99a842d50fe239ea14b5890d9aa2d4b2b
parent1f8dea686cdfd6d360ba4a97f62d274c39eaeb8e
runtime/cases/ptest.py: do not require ptest-pkgs in IMAGE_FEATURES; run only when ptest-runner is availalble;

Previously the test would execute only when all available ptests
for packages in the image were installed; some of those tests may
be broken, never finish, take a very long time or simply irrelevant
to the user who wants to check ptests of only a few specific packages,
and does so by listing them explicitly via IMAGE_INSTALL_append or similar.

Presence of ptest-runner means there is at least one ptest package installed
as they pull it in via a class dependency; ptest-runner is not generally
installed otherwise.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/ptest.py