oeqa/selftest/wic: Use SetupLocal instead of Setup
If we replace the code Setup method, we don't get the cleanup it performs and this just resulted in failures on the autobuilder due to a stale config fragment. Setup will call SetupLocal so this should be a safe and easy fix to resolve the auobuilder failures. (From OE-Core rev: 16957f5f1de0f1fb4052d5aef93ee10c893f4a38) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
4266cc986a
commit
e5b9c2a9f2
|
@ -46,7 +46,7 @@ class Wic(oeSelfTest):
|
|||
'dosfstools-native mtools-native')
|
||||
Wic.image_is_ready = False
|
||||
|
||||
def setUp(self):
|
||||
def setUpLocal(self):
|
||||
"""This code is executed before each test method."""
|
||||
if not Wic.image_is_ready:
|
||||
# build core-image-minimal with required features
|
||||
|
|
Loading…
Reference in New Issue