summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/package.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-08 16:56:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-20 14:38:16 +0100
commit10e1b48a9e2d726229a0245339bf7be21ad9ca53 (patch)
treefc1e31a00d193490e4b5b65f9af04372a6e57693 /meta/lib/oeqa/selftest/cases/package.py
parent64fa42868df98dd87fb1f5ad74977ac833936cb5 (diff)
downloadpoky-10e1b48a9e2d726229a0245339bf7be21ad9ca53.tar.gz
oeqa: Drop OETestID
These IDs refer to testopia which we're no longer using. We would now use the test names to definitively reference tests and the IDs can be dropped, along with their supporting code. (From OE-Core rev: 551153b0bd1ebbc05582f6014e3d88b9ce4a46d0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Backported to keep in-sync with future qa changes] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/package.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/package.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/lib/oeqa/selftest/cases/package.py b/meta/lib/oeqa/selftest/cases/package.py
index 6596dabc32..c166c87666 100644
--- a/meta/lib/oeqa/selftest/cases/package.py
+++ b/meta/lib/oeqa/selftest/cases/package.py
@@ -1,5 +1,4 @@
1from oeqa.selftest.case import OESelftestTestCase 1from oeqa.selftest.case import OESelftestTestCase
2from oeqa.core.decorator.oeid import OETestID
3from oeqa.utils.commands import bitbake, get_bb_vars, get_bb_var, runqemu 2from oeqa.utils.commands import bitbake, get_bb_vars, get_bb_var, runqemu
4import stat 3import stat
5import subprocess, os 4import subprocess, os
@@ -36,7 +35,6 @@ class VersionOrdering(OESelftestTestCase):
36 self.bindir = type(self).bindir 35 self.bindir = type(self).bindir
37 self.libdir = type(self).libdir 36 self.libdir = type(self).libdir
38 37
39 @OETestID(1880)
40 def test_dpkg(self): 38 def test_dpkg(self):
41 for ver1, ver2, sort in self.tests: 39 for ver1, ver2, sort in self.tests:
42 op = { -1: "<<", 0: "=", 1: ">>" }[sort] 40 op = { -1: "<<", 0: "=", 1: ">>" }[sort]
@@ -53,7 +51,6 @@ class VersionOrdering(OESelftestTestCase):
53 status = subprocess.call((oe.path.join(self.bindir, "dpkg"), "--compare-versions", ver1, op, ver2)) 51 status = subprocess.call((oe.path.join(self.bindir, "dpkg"), "--compare-versions", ver1, op, ver2))
54 self.assertNotEqual(status, 0, "%s %s %s failed" % (ver1, op, ver2)) 52 self.assertNotEqual(status, 0, "%s %s %s failed" % (ver1, op, ver2))
55 53
56 @OETestID(1881)
57 def test_opkg(self): 54 def test_opkg(self):
58 for ver1, ver2, sort in self.tests: 55 for ver1, ver2, sort in self.tests:
59 op = { -1: "<<", 0: "=", 1: ">>" }[sort] 56 op = { -1: "<<", 0: "=", 1: ">>" }[sort]
@@ -70,7 +67,6 @@ class VersionOrdering(OESelftestTestCase):
70 status = subprocess.call((oe.path.join(self.bindir, "opkg"), "compare-versions", ver1, op, ver2)) 67 status = subprocess.call((oe.path.join(self.bindir, "opkg"), "compare-versions", ver1, op, ver2))
71 self.assertNotEqual(status, 0, "%s %s %s failed" % (ver1, op, ver2)) 68 self.assertNotEqual(status, 0, "%s %s %s failed" % (ver1, op, ver2))
72 69
73 @OETestID(1882)
74 def test_rpm(self): 70 def test_rpm(self):
75 # Need to tell the Python bindings where to find its configuration 71 # Need to tell the Python bindings where to find its configuration
76 env = os.environ.copy() 72 env = os.environ.copy()