1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

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:
Richard Purdie
2015-09-30 23:31:44 +01:00
parent 4266cc986a
commit e5b9c2a9f2
+1 -1
View File
@@ -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