diff options
author | Lucian Musat <george.l.musat@intel.com> | 2015-07-17 12:54:36 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-22 23:24:59 +0100 |
commit | 9148e5873a79ea3ef64f00cf9807fae99bf3040a (patch) | |
tree | 961c76bb0dfe62162577efaa06aa98f372f4de01 /meta/lib/oeqa/runtime/syslog.py | |
parent | abf07439e59180a79518e8a2443930104e9e71d0 (diff) | |
download | openembedded-core-9148e5873a79ea3ef64f00cf9807fae99bf3040a.tar.gz openembedded-core-9148e5873a79ea3ef64f00cf9807fae99bf3040a.tar.bz2 openembedded-core-9148e5873a79ea3ef64f00cf9807fae99bf3040a.zip |
oeqa/runtime: Added decorators for the remaining auto tests.
This helps for the automatic completion of the results in testopia.
Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime/syslog.py')
-rw-r--r-- | meta/lib/oeqa/runtime/syslog.py | 3 |
1 files changed, 3 insertions, 0 deletions
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): |