[OE-core] [PATCH] oeqa/selftest/wic: Use SetupLocal instead of Setup
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Sep 30 22:33:38 UTC 2015
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 autobuilder failures.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oeqa/selftest/wic.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index 9425dc0..0a35935 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
More information about the Openembedded-core
mailing list