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/runtime/cases/oe_syslog.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/runtime/cases/oe_syslog.py')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/oe_syslog.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/lib/oeqa/runtime/cases/oe_syslog.py b/meta/lib/oeqa/runtime/cases/oe_syslog.py index a92a1f2bcb..100d026391 100644 --- a/meta/lib/oeqa/runtime/cases/oe_syslog.py +++ b/meta/lib/oeqa/runtime/cases/oe_syslog.py | |||
@@ -1,12 +1,10 @@ | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 1 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.core.decorator.depends import OETestDepends | 2 | from oeqa.core.decorator.depends import OETestDepends |
3 | from oeqa.core.decorator.oeid import OETestID | ||
4 | from oeqa.core.decorator.data import skipIfDataVar | 3 | from oeqa.core.decorator.data import skipIfDataVar |
5 | from oeqa.runtime.decorator.package import OEHasPackage | 4 | from oeqa.runtime.decorator.package import OEHasPackage |
6 | 5 | ||
7 | class SyslogTest(OERuntimeTestCase): | 6 | class SyslogTest(OERuntimeTestCase): |
8 | 7 | ||
9 | @OETestID(201) | ||
10 | @OETestDepends(['ssh.SSHTest.test_ssh']) | 8 | @OETestDepends(['ssh.SSHTest.test_ssh']) |
11 | @OEHasPackage(["busybox-syslog", "sysklogd", "rsyslog", "syslog-ng"]) | 9 | @OEHasPackage(["busybox-syslog", "sysklogd", "rsyslog", "syslog-ng"]) |
12 | def test_syslog_running(self): | 10 | def test_syslog_running(self): |
@@ -19,7 +17,6 @@ class SyslogTest(OERuntimeTestCase): | |||
19 | 17 | ||
20 | class SyslogTestConfig(OERuntimeTestCase): | 18 | class SyslogTestConfig(OERuntimeTestCase): |
21 | 19 | ||
22 | @OETestID(1149) | ||
23 | @OETestDepends(['oe_syslog.SyslogTest.test_syslog_running']) | 20 | @OETestDepends(['oe_syslog.SyslogTest.test_syslog_running']) |
24 | def test_syslog_logger(self): | 21 | def test_syslog_logger(self): |
25 | status, output = self.target.run('logger foobar') | 22 | status, output = self.target.run('logger foobar') |
@@ -36,7 +33,6 @@ class SyslogTestConfig(OERuntimeTestCase): | |||
36 | ' Output: %s ' % output) | 33 | ' Output: %s ' % output) |
37 | self.assertEqual(status, 0, msg=msg) | 34 | self.assertEqual(status, 0, msg=msg) |
38 | 35 | ||
39 | @OETestID(1150) | ||
40 | @OETestDepends(['oe_syslog.SyslogTest.test_syslog_running']) | 36 | @OETestDepends(['oe_syslog.SyslogTest.test_syslog_running']) |
41 | def test_syslog_restart(self): | 37 | def test_syslog_restart(self): |
42 | if "systemd" != self.tc.td.get("VIRTUAL-RUNTIME_init_manager", ""): | 38 | if "systemd" != self.tc.td.get("VIRTUAL-RUNTIME_init_manager", ""): |
@@ -45,7 +41,6 @@ class SyslogTestConfig(OERuntimeTestCase): | |||
45 | (_, _) = self.target.run('systemctl restart syslog.service') | 41 | (_, _) = self.target.run('systemctl restart syslog.service') |
46 | 42 | ||
47 | 43 | ||
48 | @OETestID(202) | ||
49 | @OETestDepends(['oe_syslog.SyslogTestConfig.test_syslog_logger']) | 44 | @OETestDepends(['oe_syslog.SyslogTestConfig.test_syslog_logger']) |
50 | @OEHasPackage(["busybox-syslog"]) | 45 | @OEHasPackage(["busybox-syslog"]) |
51 | @skipIfDataVar('VIRTUAL-RUNTIME_init_manager', 'systemd', | 46 | @skipIfDataVar('VIRTUAL-RUNTIME_init_manager', 'systemd', |