summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Perez Carranza <jose.perez.carranza@linux.intel.com>2016-11-24 11:22:32 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-30 15:48:08 +0000
commitb81477d329329bca2de63f4174e4d7aeb749f1dd (patch)
tree1bb8a8502dd6cc8dd832b74fc4ad9fc121dba6fe
parent8a00c404ab7717c50bc43d12b78bede1d68c109e (diff)
downloadpoky-b81477d329329bca2de63f4174e4d7aeb749f1dd.tar.gz
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>
-rw-r--r--meta/lib/oeqa/runtime/buildgalculator.py1
-rw-r--r--meta/lib/oeqa/runtime/kernelmodule.py2
-rw-r--r--meta/lib/oeqa/runtime/logrotate.py3
-rw-r--r--meta/lib/oeqa/runtime/pam.py2
4 files changed, 5 insertions, 3 deletions
diff --git a/meta/lib/oeqa/runtime/buildgalculator.py b/meta/lib/oeqa/runtime/buildgalculator.py
index 28ba29e5c2..220101d55c 100644
--- a/meta/lib/oeqa/runtime/buildgalculator.py
+++ b/meta/lib/oeqa/runtime/buildgalculator.py
@@ -7,6 +7,7 @@ def setUpModule():
7 skipModule("Image doesn't have tools-sdk in IMAGE_FEATURES") 7 skipModule("Image doesn't have tools-sdk in IMAGE_FEATURES")
8 8
9class GalculatorTest(oeRuntimeTest): 9class GalculatorTest(oeRuntimeTest):
10 @testcase(1526)
10 @skipUnlessPassed("test_ssh") 11 @skipUnlessPassed("test_ssh")
11 def test_galculator(self): 12 def test_galculator(self):
12 try: 13 try:
diff --git a/meta/lib/oeqa/runtime/kernelmodule.py b/meta/lib/oeqa/runtime/kernelmodule.py
index 38ca184540..2ac1bc93d4 100644
--- a/meta/lib/oeqa/runtime/kernelmodule.py
+++ b/meta/lib/oeqa/runtime/kernelmodule.py
@@ -14,7 +14,7 @@ class KernelModuleTest(oeRuntimeTest):
14 self.target.copy_to(os.path.join(oeRuntimeTest.tc.filesdir, "hellomod.c"), "/tmp/hellomod.c") 14 self.target.copy_to(os.path.join(oeRuntimeTest.tc.filesdir, "hellomod.c"), "/tmp/hellomod.c")
15 self.target.copy_to(os.path.join(oeRuntimeTest.tc.filesdir, "hellomod_makefile"), "/tmp/Makefile") 15 self.target.copy_to(os.path.join(oeRuntimeTest.tc.filesdir, "hellomod_makefile"), "/tmp/Makefile")
16 16
17 @testcase('316') 17 @testcase('1541')
18 @skipUnlessPassed('test_ssh') 18 @skipUnlessPassed('test_ssh')
19 @skipUnlessPassed('test_gcc_compile') 19 @skipUnlessPassed('test_gcc_compile')
20 def test_kernel_module(self): 20 def test_kernel_module(self):
diff --git a/meta/lib/oeqa/runtime/logrotate.py b/meta/lib/oeqa/runtime/logrotate.py
index de300bf55f..cf88c54dfa 100644
--- a/meta/lib/oeqa/runtime/logrotate.py
+++ b/meta/lib/oeqa/runtime/logrotate.py
@@ -12,6 +12,7 @@ def setUpModule():
12 12
13class LogrotateTest(oeRuntimeTest): 13class LogrotateTest(oeRuntimeTest):
14 14
15 @testcase(1544)
15 @skipUnlessPassed("test_ssh") 16 @skipUnlessPassed("test_ssh")
16 def test_1_logrotate_setup(self): 17 def test_1_logrotate_setup(self):
17 (status, output) = self.target.run('mkdir $HOME/logrotate_dir') 18 (status, output) = self.target.run('mkdir $HOME/logrotate_dir')
@@ -19,7 +20,7 @@ class LogrotateTest(oeRuntimeTest):
19 (status, output) = self.target.run("sed -i \"s#wtmp {#wtmp {\\n olddir $HOME/logrotate_dir#\" /etc/logrotate.conf") 20 (status, output) = self.target.run("sed -i \"s#wtmp {#wtmp {\\n olddir $HOME/logrotate_dir#\" /etc/logrotate.conf")
20 self.assertEqual(status, 0, msg = "Could not write to logrotate.conf file. Status and output: %s and %s)" % (status, output)) 21 self.assertEqual(status, 0, msg = "Could not write to logrotate.conf file. Status and output: %s and %s)" % (status, output))
21 22
22 @testcase(289) 23 @testcase(1542)
23 @skipUnlessPassed("test_1_logrotate_setup") 24 @skipUnlessPassed("test_1_logrotate_setup")
24 def test_2_logrotate(self): 25 def test_2_logrotate(self):
25 (status, output) = self.target.run('logrotate -f /etc/logrotate.conf') 26 (status, output) = self.target.run('logrotate -f /etc/logrotate.conf')
diff --git a/meta/lib/oeqa/runtime/pam.py b/meta/lib/oeqa/runtime/pam.py
index c8205c9abc..b7f2dfa49b 100644
--- a/meta/lib/oeqa/runtime/pam.py
+++ b/meta/lib/oeqa/runtime/pam.py
@@ -12,7 +12,7 @@ def setUpModule():
12 12
13class PamBasicTest(oeRuntimeTest): 13class PamBasicTest(oeRuntimeTest):
14 14
15 @testcase(287) 15 @testcase(1543)
16 @skipUnlessPassed('test_ssh') 16 @skipUnlessPassed('test_ssh')
17 def test_pam(self): 17 def test_pam(self):
18 (status, output) = self.target.run('login --help') 18 (status, output) = self.target.run('login --help')