]> code.ossystems Code Review - openembedded-core.git/commit
selftest/wic: Fix/cleanup class setup code
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jul 2018 12:03:46 +0000 (12:03 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jul 2018 16:14:47 +0000 (17:14 +0100)
commit3e83364ed7031d53f281216214b04c7acace844a
treeef3cc1973f7df63a5adcf1ce68e3bae22328ecb0
parent364449251ffe4ff2c11acaa258edcec244c38818
selftest/wic: Fix/cleanup class setup code

The code was using Wic instead of WicTestCase for image_is_ready and
native_sysroot which was confusing some tests. Fix image_is_ready.

For native_sysroot, convert the only user to just run the call itself
as there is no point in executing this for all the other tests which
don't use the value.

Whilst here, move _get_image_env_path to the base class alongside
its parent variabe and fix it to use WicTestCase.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/wic.py