diff options
author | Mariano Lopez <mariano.lopez@linux.intel.com> | 2017-01-13 10:47:53 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-23 12:03:57 +0000 |
commit | 077dc19445574457769eb4f231de97e8059cb75e (patch) | |
tree | 6219014f47d8737d6618a54b1df7a52ac60cd981 /meta/lib/oeqa/runtime/case.py | |
parent | 8c7335290cb00ed0683241249297ca573ebd353a (diff) | |
download | openembedded-core-contrib-077dc19445574457769eb4f231de97e8059cb75e.tar.gz |
testimage.bbclass: Add package install feature
This allows to use the package install feature with
the new OEQA framework.
[YOCTO #10234]
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Diffstat (limited to 'meta/lib/oeqa/runtime/case.py')
-rw-r--r-- | meta/lib/oeqa/runtime/case.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/case.py b/meta/lib/oeqa/runtime/case.py index 43f1b2f425..c1485c9860 100644 --- a/meta/lib/oeqa/runtime/case.py +++ b/meta/lib/oeqa/runtime/case.py @@ -2,7 +2,16 @@ # Released under the MIT license (see COPYING.MIT) from oeqa.core.case import OETestCase +from oeqa.utils.package_manager import install_package, uninstall_package class OERuntimeTestCase(OETestCase): # target instance set by OERuntimeTestLoader. target = None + + def _oeSetUp(self): + super(OERuntimeTestCase, self)._oeSetUp() + install_package(self) + + def _oeTearDown(self): + super(OERuntimeTestCase, self)._oeTearDown() + uninstall_package(self) |