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: lucaceresoli/bug-15201-perf-libtraceevent-missing~28683 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16957f5f1de0f1fb4052d5aef93ee10c893f4a38;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 9425dc07c4c..0a35935aac2 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