From cc2202b8b45ccdce16256cac3780aa7a546a882f Mon Sep 17 00:00:00 2001 From: Lucian Musat Date: Fri, 17 Jul 2015 12:54:36 +0300 Subject: oeqa/runtime: Added decorators for the remaining auto tests. This helps for the automatic completion of the results in testopia. (From OE-Core rev: 9148e5873a79ea3ef64f00cf9807fae99bf3040a) Signed-off-by: Lucian Musat Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/syslog.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/lib/oeqa/runtime/syslog.py') diff --git a/meta/lib/oeqa/runtime/syslog.py b/meta/lib/oeqa/runtime/syslog.py index 5d0f548c99..31cd6b0139 100644 --- a/meta/lib/oeqa/runtime/syslog.py +++ b/meta/lib/oeqa/runtime/syslog.py @@ -8,6 +8,7 @@ def setUpModule(): class SyslogTest(oeRuntimeTest): + @testcase(1148) @skipUnlessPassed("test_ssh") def test_syslog_help(self): (status,output) = self.target.run('/sbin/syslogd --help') @@ -22,11 +23,13 @@ class SyslogTest(oeRuntimeTest): class SyslogTestConfig(oeRuntimeTest): + @testcase(1149) @skipUnlessPassed("test_syslog_running") def test_syslog_logger(self): (status,output) = self.target.run('logger foobar && test -e /var/log/messages && grep foobar /var/log/messages || logread | grep foobar') self.assertEqual(status, 0, msg="Test log string not found in /var/log/messages. Output: %s " % output) + @testcase(1150) @skipUnlessPassed("test_syslog_running") def test_syslog_restart(self): if "systemd" != oeRuntimeTest.tc.d.getVar("VIRTUAL-RUNTIME_init_manager", False): -- cgit v1.2.3-54-g00ecf