From 16957f5f1de0f1fb4052d5aef93ee10c893f4a38 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 30 Sep 2015 23:31:44 +0100 Subject: 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 --- meta/lib/oeqa/selftest/wic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg