diff options
Diffstat (limited to 'poky/meta/lib/oeqa/runtime/case.py')
-rw-r--r-- | poky/meta/lib/oeqa/runtime/case.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/poky/meta/lib/oeqa/runtime/case.py b/poky/meta/lib/oeqa/runtime/case.py new file mode 100644 index 000000000..2f190acf1 --- /dev/null +++ b/poky/meta/lib/oeqa/runtime/case.py @@ -0,0 +1,17 @@ +# 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 setUp(self): + super(OERuntimeTestCase, self).setUp() + install_package(self) + + def tearDown(self): + super(OERuntimeTestCase, self).tearDown() + uninstall_package(self) |