mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
runtime: Update test cases numbers for runtime tests
Update test case numbers on runtime tests to do match with templates defined on Testopia for 2.3 release (From OE-Core rev: d9df762b4c62b74f6d3a1521642ea86c26793a22) Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8a00c404ab
commit
b81477d329
@@ -7,6 +7,7 @@ def setUpModule():
|
|||||||
skipModule("Image doesn't have tools-sdk in IMAGE_FEATURES")
|
skipModule("Image doesn't have tools-sdk in IMAGE_FEATURES")
|
||||||
|
|
||||||
class GalculatorTest(oeRuntimeTest):
|
class GalculatorTest(oeRuntimeTest):
|
||||||
|
@testcase(1526)
|
||||||
@skipUnlessPassed("test_ssh")
|
@skipUnlessPassed("test_ssh")
|
||||||
def test_galculator(self):
|
def test_galculator(self):
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ class KernelModuleTest(oeRuntimeTest):
|
|||||||
self.target.copy_to(os.path.join(oeRuntimeTest.tc.filesdir, "hellomod.c"), "/tmp/hellomod.c")
|
self.target.copy_to(os.path.join(oeRuntimeTest.tc.filesdir, "hellomod.c"), "/tmp/hellomod.c")
|
||||||
self.target.copy_to(os.path.join(oeRuntimeTest.tc.filesdir, "hellomod_makefile"), "/tmp/Makefile")
|
self.target.copy_to(os.path.join(oeRuntimeTest.tc.filesdir, "hellomod_makefile"), "/tmp/Makefile")
|
||||||
|
|
||||||
@testcase('316')
|
@testcase('1541')
|
||||||
@skipUnlessPassed('test_ssh')
|
@skipUnlessPassed('test_ssh')
|
||||||
@skipUnlessPassed('test_gcc_compile')
|
@skipUnlessPassed('test_gcc_compile')
|
||||||
def test_kernel_module(self):
|
def test_kernel_module(self):
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ def setUpModule():
|
|||||||
|
|
||||||
class LogrotateTest(oeRuntimeTest):
|
class LogrotateTest(oeRuntimeTest):
|
||||||
|
|
||||||
|
@testcase(1544)
|
||||||
@skipUnlessPassed("test_ssh")
|
@skipUnlessPassed("test_ssh")
|
||||||
def test_1_logrotate_setup(self):
|
def test_1_logrotate_setup(self):
|
||||||
(status, output) = self.target.run('mkdir $HOME/logrotate_dir')
|
(status, output) = self.target.run('mkdir $HOME/logrotate_dir')
|
||||||
@@ -19,7 +20,7 @@ class LogrotateTest(oeRuntimeTest):
|
|||||||
(status, output) = self.target.run("sed -i \"s#wtmp {#wtmp {\\n olddir $HOME/logrotate_dir#\" /etc/logrotate.conf")
|
(status, output) = self.target.run("sed -i \"s#wtmp {#wtmp {\\n olddir $HOME/logrotate_dir#\" /etc/logrotate.conf")
|
||||||
self.assertEqual(status, 0, msg = "Could not write to logrotate.conf file. Status and output: %s and %s)" % (status, output))
|
self.assertEqual(status, 0, msg = "Could not write to logrotate.conf file. Status and output: %s and %s)" % (status, output))
|
||||||
|
|
||||||
@testcase(289)
|
@testcase(1542)
|
||||||
@skipUnlessPassed("test_1_logrotate_setup")
|
@skipUnlessPassed("test_1_logrotate_setup")
|
||||||
def test_2_logrotate(self):
|
def test_2_logrotate(self):
|
||||||
(status, output) = self.target.run('logrotate -f /etc/logrotate.conf')
|
(status, output) = self.target.run('logrotate -f /etc/logrotate.conf')
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ def setUpModule():
|
|||||||
|
|
||||||
class PamBasicTest(oeRuntimeTest):
|
class PamBasicTest(oeRuntimeTest):
|
||||||
|
|
||||||
@testcase(287)
|
@testcase(1543)
|
||||||
@skipUnlessPassed('test_ssh')
|
@skipUnlessPassed('test_ssh')
|
||||||
def test_pam(self):
|
def test_pam(self):
|
||||||
(status, output) = self.target.run('login --help')
|
(status, output) = self.target.run('login --help')
|
||||||
|
|||||||
Reference in New Issue
Block a user