diff options
author | Lucian Musat <georgex.l.musat@intel.com> | 2014-07-25 12:02:30 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-25 16:54:27 +0100 |
commit | 95b83084487d0712362ade8ac487999c3274bb96 (patch) | |
tree | 28aed54cfa7f3f2d9674b5ac23866305cd71928a /meta/lib/oeqa/runtime/smart.py | |
parent | 9aa75f06e9e78602ad8e9a5ffa312f71057a90d7 (diff) | |
download | openembedded-core-contrib-95b83084487d0712362ade8ac487999c3274bb96.tar.gz |
oeqa/rutime: Added testcase decorators for automated runtime tests. Also added LogResults decorator for oeTest class in oetest.py
Signed-off-by: Lucian Musat <georgex.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime/smart.py')
-rw-r--r-- | meta/lib/oeqa/runtime/smart.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/smart.py b/meta/lib/oeqa/runtime/smart.py index 3130373f4b..3b49314df7 100644 --- a/meta/lib/oeqa/runtime/smart.py +++ b/meta/lib/oeqa/runtime/smart.py @@ -25,6 +25,7 @@ class SmartTest(oeRuntimeTest): class SmartBasicTest(SmartTest): + @testcase(716) @skipUnlessPassed('test_ssh') def test_smart_help(self): self.smart('--help') @@ -32,15 +33,19 @@ class SmartBasicTest(SmartTest): def test_smart_version(self): self.smart('--version') + @testcase(721) def test_smart_info(self): self.smart('info python-smartpm') + @testcase(421) def test_smart_query(self): self.smart('query python-smartpm') + @testcase(720) def test_smart_search(self): self.smart('search python-smartpm') + @testcase(722) def test_smart_stats(self): self.smart('stats') @@ -58,6 +63,7 @@ class SmartRepoTest(SmartTest): def test_smart_channel(self): self.smart('channel', 1) + @testcase(719) def test_smart_channel_add(self): image_pkgtype = self.tc.d.getVar('IMAGE_PKGTYPE', True) deploy_url = 'http://%s:%s/%s' %(self.target.server_ip, self.repo_server.port, image_pkgtype) @@ -76,6 +82,7 @@ class SmartRepoTest(SmartTest): def test_smart_channel_show(self): self.smart('channel --show') + @testcase(717) def test_smart_channel_rpmsys(self): self.smart('channel --show rpmsys') self.smart('channel --disable rpmsys') @@ -86,17 +93,20 @@ class SmartRepoTest(SmartTest): self.smart('remove -y psplash-default') self.smart('install -y psplash-default') + @testcase(728) @skipUnlessPassed('test_smart_install') def test_smart_install_dependency(self): self.smart('remove -y psplash') self.smart('install -y psplash-default') + @testcase(723) @skipUnlessPassed('test_smart_channel_add') def test_smart_install_from_disk(self): self.smart('remove -y psplash-default') self.smart('download psplash-default') self.smart('install -y ./psplash-default*') + @testcase(725) @skipUnlessPassed('test_smart_channel_add') def test_smart_install_from_http(self): output = self.smart('download --urls psplash-default') @@ -105,6 +115,7 @@ class SmartRepoTest(SmartTest): self.smart('remove -y psplash-default') self.smart('install -y %s' % url.group(0)) + @testcase(729) @skipUnlessPassed('test_smart_install') def test_smart_reinstall(self): self.smart('reinstall -y psplash-default') |