From: Richard Purdie Date: Wed, 30 Sep 2015 22:31:44 +0000 (+0100) Subject: oeqa/selftest/wic: Use SetupLocal instead of Setup X-Git-Tag: 2015-10~170 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=16957f5f1de0f1fb4052d5aef93ee10c893f4a38;p=openembedded-core.git 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. Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index 9425dc07c4..0a35935aac 100644 --- a/meta/lib/oeqa/selftest/wic.py +++ b/meta/lib/oeqa/selftest/wic.py @@ -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