diff options
author | Jose Perez Carranza <jose.perez.carranza@linux.intel.com> | 2017-06-15 05:49:22 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-23 11:44:12 +0100 |
commit | ab0780dfea9f0202ded3f2692633926aea35a5e6 (patch) | |
tree | de21c8e1e6e8e3444273a9a72fea1ad5fea19e1f /meta/lib/oeqa/selftest/cases/runtime_test.py | |
parent | f822525c5830247e4ec8ea6be9aa36a97106cca8 (diff) | |
download | poky-ab0780dfea9f0202ded3f2692633926aea35a5e6.tar.gz |
selftest: Add Testopia ID to test cases
Add decorator @OETestID() with proper Tesopia TC ID to the test cases
that did not have it set.
(From OE-Core rev: d7bc697534db911a3ce98537d772d87482a0f702)
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>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/runtime_test.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/runtime_test.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 2ac0a29761..2a70ae15b8 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py | |||
@@ -11,6 +11,7 @@ class TestExport(OESelftestTestCase): | |||
11 | runCmd("rm -rf /tmp/sdk") | 11 | runCmd("rm -rf /tmp/sdk") |
12 | super(TestExport, cls).tearDownClass() | 12 | super(TestExport, cls).tearDownClass() |
13 | 13 | ||
14 | @OETestID(1499) | ||
14 | def test_testexport_basic(self): | 15 | def test_testexport_basic(self): |
15 | """ | 16 | """ |
16 | Summary: Check basic testexport functionality with only ping test enabled. | 17 | Summary: Check basic testexport functionality with only ping test enabled. |
@@ -50,6 +51,7 @@ class TestExport(OESelftestTestCase): | |||
50 | # Verify ping test was succesful | 51 | # Verify ping test was succesful |
51 | self.assertEqual(0, result.status, 'oe-test runtime returned a non 0 status') | 52 | self.assertEqual(0, result.status, 'oe-test runtime returned a non 0 status') |
52 | 53 | ||
54 | @OETestID(1641) | ||
53 | def test_testexport_sdk(self): | 55 | def test_testexport_sdk(self): |
54 | """ | 56 | """ |
55 | Summary: Check sdk functionality for testexport. | 57 | Summary: Check sdk functionality for testexport. |
@@ -104,6 +106,7 @@ class TestExport(OESelftestTestCase): | |||
104 | 106 | ||
105 | class TestImage(OESelftestTestCase): | 107 | class TestImage(OESelftestTestCase): |
106 | 108 | ||
109 | @OETestID(1644) | ||
107 | def test_testimage_install(self): | 110 | def test_testimage_install(self): |
108 | """ | 111 | """ |
109 | Summary: Check install packages functionality for testimage/testexport. | 112 | Summary: Check install packages functionality for testimage/testexport. |
@@ -123,6 +126,7 @@ class TestImage(OESelftestTestCase): | |||
123 | bitbake('core-image-full-cmdline socat') | 126 | bitbake('core-image-full-cmdline socat') |
124 | bitbake('-c testimage core-image-full-cmdline') | 127 | bitbake('-c testimage core-image-full-cmdline') |
125 | 128 | ||
129 | @OETestID(1883) | ||
126 | def test_testimage_dnf(self): | 130 | def test_testimage_dnf(self): |
127 | """ | 131 | """ |
128 | Summary: Check package feeds functionality for dnf | 132 | Summary: Check package feeds functionality for dnf |