mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 16:56:37 +01:00
This allows to use the package install feature with the new OEQA framework. [YOCTO #10234] (From OE-Core rev: 077dc19445574457769eb4f231de97e8059cb75e) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 lines
527 B
Python
18 lines
527 B
Python
# Copyright (C) 2016 Intel Corporation
|
|
# 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)
|