mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 20:59:42 +01:00
runtime/cases: Fix case numbers, missing cases and unused classes
gcc: Removed unneded lines. multilib: fixed case number. syslog: added a missing test. [YOCTO #10964] (From OE-Core rev: 3f1c57191802309e58a7b3b42e8ec812e83bd8ed) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
cb3d884e0a
commit
5582b67f6d
@@ -11,15 +11,12 @@ class GccCompileTest(OERuntimeTestCase):
|
||||
def setUpClass(cls):
|
||||
dst = '/tmp/'
|
||||
src = os.path.join(cls.tc.files_dir, 'test.c')
|
||||
#dst = '/tmp/test.c'
|
||||
cls.tc.target.copyTo(src, dst)
|
||||
|
||||
src = os.path.join(cls.tc.runtime_files_dir, 'testmakefile')
|
||||
#dst = '/tmp/testmakefile'
|
||||
cls.tc.target.copyTo(src, dst)
|
||||
|
||||
src = os.path.join(cls.tc.files_dir, 'test.cpp')
|
||||
#dst = '/tmp/test.cpp'
|
||||
cls.tc.target.copyTo(src, dst)
|
||||
|
||||
@classmethod
|
||||
|
||||
@@ -23,9 +23,9 @@ class MultilibTest(OERuntimeTestCase):
|
||||
msg = "%s isn't %s (is %s)" % (binary, arch, theclass)
|
||||
self.assertEqual(theclass, arch, msg=msg)
|
||||
|
||||
@OETestID(1593)
|
||||
@skipIfNotInDataVar('MULTILIBS', 'multilib:lib32',
|
||||
"This isn't a multilib:lib32 image")
|
||||
@OETestID(201)
|
||||
@OETestDepends(['ssh.SSHTest.test_ssh'])
|
||||
def test_check_multilib_libc(self):
|
||||
"""
|
||||
|
||||
@@ -34,6 +34,15 @@ class SyslogTestConfig(OERuntimeTestCase):
|
||||
' Output: %s ' % output)
|
||||
self.assertEqual(status, 0, msg=msg)
|
||||
|
||||
@OETestID(1150)
|
||||
@OETestDepends(['syslog.SyslogTest.test_syslog_running'])
|
||||
def test_syslog_restart(self):
|
||||
if "systemd" != self.tc.td.get("VIRTUAL-RUNTIME_init_manager", ""):
|
||||
(_, _) = self.target.run('/etc/init.d/syslog restart')
|
||||
else:
|
||||
(_, _) = self.target.run('systemctl restart syslog.service')
|
||||
|
||||
|
||||
@OETestID(202)
|
||||
@OETestDepends(['syslog.SyslogTestConfig.test_syslog_logger'])
|
||||
@OEHasPackage(["!sysklogd", "busybox"])
|
||||
|
||||
Reference in New Issue
Block a user