]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
oeqa/selftest/wic: Use SetupLocal instead of Setup
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Sep 2015 22:31:44 +0000 (23:31 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 Oct 2015 06:40:37 +0000 (07:40 +0100)
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 <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/wic.py

index 9425dc07c4c1d7f682ee96aae22525409badc441..0a35935aac2e735a797548e5b7b21ecae98d388d 100644 (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