Sfoglia il codice sorgente

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>
Richard Purdie 9 anni fa
parent
commit
e5b9c2a9f2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      meta/lib/oeqa/selftest/wic.py

+ 1 - 1
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