diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-30 23:31:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-01 07:43:38 +0100 |
commit | e5b9c2a9f2b9ad354d246b20d7252957dd5ebb42 (patch) | |
tree | b0d8f48e85256942fe782fd87f70ac791ceb0466 /meta/lib | |
parent | 4266cc986add2551b7a200d20a75bd4f3cb2b1a9 (diff) | |
download | poky-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.py | 2 |
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 |