summaryrefslogtreecommitdiffstats
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:40:37 +0100
commit16957f5f1de0f1fb4052d5aef93ee10c893f4a38 (patch)
tree3d8b1626c0582c9cb555c1d678d0ad83e1c5ac0b
parent4965f122ca67c0ff60dc60f7885db1ed9db909b4 (diff)
downloadopenembedded-core-contrib-16957f5f1de0f1fb4052d5aef93ee10c893f4a38.tar.gz
openembedded-core-contrib-16957f5f1de0f1fb4052d5aef93ee10c893f4a38.tar.bz2
openembedded-core-contrib-16957f5f1de0f1fb4052d5aef93ee10c893f4a38.zip
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 <richard.purdie@linuxfoundation.org>
-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):
'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