summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/scanelf.py
diff options
context:
space:
mode:
authorLucian Musat <georgex.l.musat@intel.com>2014-07-25 12:02:30 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-25 16:54:42 +0100
commit8e26ab7d52edd13ffa50b2d0b26606bea8890e76 (patch)
tree2b2bcfc87341d3a5136710c8412fb6348ce2069d /meta/lib/oeqa/runtime/scanelf.py
parent242cceeedf2351e4337d8e45fb4c2c8360937ead (diff)
downloadpoky-8e26ab7d52edd13ffa50b2d0b26606bea8890e76.tar.gz
oeqa/rutime: Added testcase decorators for automated runtime tests. Also added LogResults decorator for oeTest class in oetest.py
(From OE-Core rev: 95b83084487d0712362ade8ac487999c3274bb96) 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/scanelf.py')
-rw-r--r--meta/lib/oeqa/runtime/scanelf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/scanelf.py b/meta/lib/oeqa/runtime/scanelf.py
index b9abf24640..43a024ab9a 100644
--- a/meta/lib/oeqa/runtime/scanelf.py
+++ b/meta/lib/oeqa/runtime/scanelf.py
@@ -11,6 +11,7 @@ class ScanelfTest(oeRuntimeTest):
11 def setUp(self): 11 def setUp(self):
12 self.scancmd = 'scanelf --quiet --recursive --mount --ldpath --path' 12 self.scancmd = 'scanelf --quiet --recursive --mount --ldpath --path'
13 13
14 @testcase(966)
14 @skipUnlessPassed('test_ssh') 15 @skipUnlessPassed('test_ssh')
15 def test_scanelf_textrel(self): 16 def test_scanelf_textrel(self):
16 # print TEXTREL information 17 # print TEXTREL information
@@ -18,6 +19,7 @@ class ScanelfTest(oeRuntimeTest):
18 (status, output) = self.target.run(self.scancmd) 19 (status, output) = self.target.run(self.scancmd)
19 self.assertEqual(output.strip(), "", "\n".join([self.scancmd, output])) 20 self.assertEqual(output.strip(), "", "\n".join([self.scancmd, output]))
20 21
22 @testcase(967)
21 @skipUnlessPassed('test_ssh') 23 @skipUnlessPassed('test_ssh')
22 def test_scanelf_rpath(self): 24 def test_scanelf_rpath(self):
23 # print RPATH information 25 # print RPATH information