generic-poky/meta/lib/oeqa/selftest
Richard Purdie fb1654fee4 image: Fix wic environment issues
The wic environment function needs to run after the rootfs size is
setup. We move this code to a specific task, and depend on that task
from the wic images and other places its needed.
This fixes:

======================================================================
FAIL: test_image_env (oeqa.selftest.wic.Wic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py", line 106, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/wic.py", line 218, in test_image_env
    self.assertTrue(var in content, "%s is not in .env file" % var)
AssertionError: False is not true : ROOTFS_SIZE is not in .env file

(From OE-Core rev: 606f9e2d7d8d389c8d4f5c3090139d3bb780e09c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-19 17:24:46 +00:00
..
__init__.py scripts/oe-selftest: script to run builds as unittest against bitbake or various scripts 2013-12-03 17:45:50 +00:00
_sstatetests_noauto.py oe-selftest: force some values in local.conf for _sstatetests_noauto.py 2014-03-07 14:58:45 +00:00
_toaster.py oeqa/selftest: remove tests for TCs that are no longer valid 2015-08-11 09:28:50 -07:00
archiver.py oeqa/selftest/archiver: Test that archiver filters on recipe name 2015-09-24 17:54:28 +01:00
base.py scripts/oe-selftest: Allow to run tests on random/all MACHINEs 2016-01-07 13:40:17 +00:00
bblayers.py oeqa/selftest: Added testcase decorators for 2 testcases 2015-12-16 12:12:15 +00:00
bbtests.py oeqa/selftest: improve config writing and cleanup 2015-10-21 22:56:07 +01:00
buildhistory.py selftest: moved tc test_buildhistory_does_not_change_signatures 2016-01-07 13:40:16 +00:00
buildoptions.py selftest: moved tc test_buildhistory_does_not_change_signatures 2016-01-07 13:40:16 +00:00
devtool.py selftest: Added testcase decorators for 2 tests 2016-01-07 13:40:16 +00:00
imagefeatures.py selftest: Added MACHINE = "qemux86" to tests that use runqemu 2015-12-28 09:25:17 +00:00
layerappend.py oeqa/selftest/layerappend: fix test if build directory is not inside COREBASE 2015-11-16 11:39:39 +00:00
lic-checksum.py insane: Start to clean up do_configure_qa code 2016-01-19 17:24:46 +00:00
manifest.py oeqa/selftest: Added testcase decorators. 2015-10-27 07:24:28 +00:00
oescripts.py oeqs/selftest: Added test case decorators for the rest of selftest testcases except toaster 2014-07-10 17:38:35 +01:00
pkgdata.py oeqa/pkgdata: add useful failure messages to test cases 2015-07-23 08:48:37 +01:00
prservice.py oeqa/prservice: add useful failure messages to test cases 2015-07-23 08:48:38 +01:00
recipetool.py oeqa/selftest/recipetool: update for libjpeg-turbo migration 2016-01-07 13:40:17 +00:00
signing.py oeqa/selftest/signing: Added new test for signing sstate. 2015-11-24 15:55:41 +00:00
sstate.py oe-selftest: separated the SStateBase and SStateTests in different modules 2014-01-16 12:18:52 +00:00
sstatetests.py oeqa/selftest/sstatetests: prettier output for allarch test 2015-11-24 15:55:41 +00:00
wic.py image: Fix wic environment issues 2016-01-19 17:24:46 +00:00