diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-08 16:56:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-09 16:31:55 +0100 |
commit | c7592b01478def091b6787412390c61e7ce0a0cd (patch) | |
tree | 3c2f26480c6e16fae0ad65b032e3dc0fccfca71b /meta/lib/oeqa/selftest/cases/package.py | |
parent | c0dc72bad92e2e4dc0aedb48b969709f821baf73 (diff) | |
download | poky-c7592b01478def091b6787412390c61e7ce0a0cd.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: 8e2d0575e4e7036b5f60e632f377a8ab2b96ead8)
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.py | 4 |
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 @@ | |||
1 | from oeqa.selftest.case import OESelftestTestCase | 1 | from oeqa.selftest.case import OESelftestTestCase |
2 | from oeqa.core.decorator.oeid import OETestID | ||
3 | from oeqa.utils.commands import bitbake, get_bb_vars, get_bb_var, runqemu | 2 | from oeqa.utils.commands import bitbake, get_bb_vars, get_bb_var, runqemu |
4 | import stat | 3 | import stat |
5 | import subprocess, os | 4 | import 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() |