summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-30 23:31:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-01 07:43:38 +0100
commite5b9c2a9f2b9ad354d246b20d7252957dd5ebb42 (patch)
treeb0d8f48e85256942fe782fd87f70ac791ceb0466 /meta/lib
parent4266cc986add2551b7a200d20a75bd4f3cb2b1a9 (diff)
downloadpoky-e5b9c2a9f2b9ad354d246b20d7252957dd5ebb42.tar.gz
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>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/selftest/wic.py2
1 files changed, 1 insertions, 1 deletions
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):
46 'dosfstools-native mtools-native') 46 'dosfstools-native mtools-native')
47 Wic.image_is_ready = False 47 Wic.image_is_ready = False
48 48
49 def setUp(self): 49 def setUpLocal(self):
50 """This code is executed before each test method.""" 50 """This code is executed before each test method."""
51 if not Wic.image_is_ready: 51 if not Wic.image_is_ready:
52 # build core-image-minimal with required features 52 # build core-image-minimal with required features