]> code.ossystems Code Review - openembedded-core.git/commit
runtime-test.py: Split different tests inside selftest.py
authorHumberto Ibarra <humberto.ibarra.lopez@intel.com>
Mon, 5 Jun 2017 17:19:34 +0000 (12:19 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 9 Jun 2017 16:12:04 +0000 (17:12 +0100)
commit2f6a506018973f0eaf1306555df3e74a3ab25680
treeef9ec3e1983726ec81af338e71987b9645dd6509
parentfa3a157e437aefa24c473ec53736a26f7e9fd470
runtime-test.py: Split different tests inside selftest.py

There were two completely different tests inside selftest.py,
and the only reason for them to be together was that both needed
the same mechanism to execute (run testimage from within selftest)

This fixes the design issue and error-prone situation by separating
these tests. In add a new module for dnf-runtime and also has an
extra time added to running the tests, but it is minimal since
the builds reuse data from previuous build.

[YOCTO #11436]

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta-selftest/lib/oeqa/runtime/cases/dnf-runtime.py [new file with mode: 0644]
meta-selftest/lib/oeqa/runtime/cases/selftest.py
meta/lib/oeqa/selftest/cases/runtime_test.py