aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/prservice.py
diff options
context:
space:
mode:
authorLucian Musat <georgex.l.musat@intel.com>2014-07-09 11:36:47 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-10 17:37:41 +0100
commit3c820db4624a062644a26de1866123a10a78a006 (patch)
treeebdeba84076377a283aa4c5766284fe24dc0320f /meta/lib/oeqa/selftest/prservice.py
parentc2d8322b3e3d1c2cb1ed7ccff59c7e86ab7af751 (diff)
downloadopenembedded-core-contrib-3c820db4624a062644a26de1866123a10a78a006.tar.gz
oeqs/selftest: Added test case decorators for the rest of selftest testcases except toaster
Signed-off-by: Lucian Musat <georgex.l.musat@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/lib/oeqa/selftest/prservice.py')
-rw-r--r--meta/lib/oeqa/selftest/prservice.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/prservice.py b/meta/lib/oeqa/selftest/prservice.py
index 789c05f1e5..fb6d68d3bf 100644
--- a/meta/lib/oeqa/selftest/prservice.py
+++ b/meta/lib/oeqa/selftest/prservice.py
@@ -8,6 +8,7 @@ import datetime
import oeqa.utils.ftools as ftools
from oeqa.selftest.base import oeSelfTest
from oeqa.utils.commands import runCmd, bitbake, get_bb_var
+from oeqa.utils.decorators import testcase
class BitbakePrTests(oeSelfTest):
@@ -87,27 +88,34 @@ class BitbakePrTests(oeSelfTest):
bitbake("-ccleansstate %s" % package_name)
self.assertTrue(pr_2 - pr_1 == 1)
-
+ @testcase(930)
def test_import_export_replace_db(self):
self.run_test_pr_export_import('m4')
+ @testcase(931)
def test_import_export_override_db(self):
self.run_test_pr_export_import('m4', replace_current_db=False)
+ @testcase(932)
def test_pr_service_rpm_arch_dep(self):
self.run_test_pr_service('m4', 'rpm', 'do_package')
+ @testcase(934)
def test_pr_service_deb_arch_dep(self):
self.run_test_pr_service('m4', 'deb', 'do_package')
+ @testcase(933)
def test_pr_service_ipk_arch_dep(self):
self.run_test_pr_service('m4', 'ipk', 'do_package')
+ @testcase(935)
def test_pr_service_rpm_arch_indep(self):
self.run_test_pr_service('xcursor-transparent-theme', 'rpm', 'do_package')
+ @testcase(937)
def test_pr_service_deb_arch_indep(self):
self.run_test_pr_service('xcursor-transparent-theme', 'deb', 'do_package')
+ @testcase(936)
def test_pr_service_ipk_arch_indep(self):
self.run_test_pr_service('xcursor-transparent-theme', 'ipk', 'do_package')