summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/cases/oe_syslog.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/runtime/cases/oe_syslog.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/runtime/cases/oe_syslog.py')
-rw-r--r--meta/lib/oeqa/runtime/cases/oe_syslog.py5
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 @@
1from oeqa.runtime.case import OERuntimeTestCase 1from oeqa.runtime.case import OERuntimeTestCase
2from oeqa.core.decorator.depends import OETestDepends 2from oeqa.core.decorator.depends import OETestDepends
3from oeqa.core.decorator.oeid import OETestID
4from oeqa.core.decorator.data import skipIfDataVar 3from oeqa.core.decorator.data import skipIfDataVar
5from oeqa.runtime.decorator.package import OEHasPackage 4from oeqa.runtime.decorator.package import OEHasPackage
6 5
7class SyslogTest(OERuntimeTestCase): 6class 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
20class SyslogTestConfig(OERuntimeTestCase): 18class 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',