* [PATCH] oeqa/selftest/wic: Use SetupLocal instead of Setup
@ 2015-09-30 22:33 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-09-30 22:33 UTC (permalink / raw)
To: openembedded-core
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@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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-09-30 22:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30 22:33 [PATCH] oeqa/selftest/wic: Use SetupLocal instead of Setup Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox