diff options
author | Ross Burton <ross.burton@intel.com> | 2018-07-27 15:23:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-30 12:44:35 +0100 |
commit | 9de268dd60585ed277e0f80c342c72e43c5aaaf9 (patch) | |
tree | 00c13e1db9a3453104eb8098b72d789950bd83c2 /meta/lib/oeqa | |
parent | 6c7709edfc11ef21b87b2d4ece924ffd795b13ff (diff) | |
download | poky-9de268dd60585ed277e0f80c342c72e43c5aaaf9.tar.gz |
oeqa/runtime/scanelf: remove
These tests are intended to search for bad RPATHs and text relocations, but we
do these tests at buildtime and as pax-utils is never installed in any default
images the tests are never executed.
(From OE-Core rev: ff81b58d5f322ea4a24c1b9ed40377c742459149)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/scanelf.py | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/meta/lib/oeqa/runtime/cases/scanelf.py b/meta/lib/oeqa/runtime/cases/scanelf.py deleted file mode 100644 index 3ba1f78af9..0000000000 --- a/meta/lib/oeqa/runtime/cases/scanelf.py +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | ||
2 | from oeqa.core.decorator.depends import OETestDepends | ||
3 | from oeqa.core.decorator.oeid import OETestID | ||
4 | from oeqa.runtime.decorator.package import OEHasPackage | ||
5 | |||
6 | class ScanelfTest(OERuntimeTestCase): | ||
7 | scancmd = 'scanelf --quiet --recursive --mount --ldpath --path' | ||
8 | |||
9 | @OETestID(966) | ||
10 | @OETestDepends(['ssh.SSHTest.test_ssh']) | ||
11 | @OEHasPackage(['pax-utils']) | ||
12 | def test_scanelf_textrel(self): | ||
13 | # print TEXTREL information | ||
14 | cmd = '%s --textrel' % self.scancmd | ||
15 | status, output = self.target.run(cmd) | ||
16 | msg = '\n'.join([cmd, output]) | ||
17 | self.assertEqual(output.strip(), '', msg=msg) | ||
18 | |||
19 | @OETestID(967) | ||
20 | @OETestDepends(['scanelf.ScanelfTest.test_scanelf_textrel']) | ||
21 | def test_scanelf_rpath(self): | ||
22 | # print RPATH information | ||
23 | cmd = '%s --textrel --rpath' % self.scancmd | ||
24 | status, output = self.target.run(cmd) | ||
25 | msg = '\n'.join([cmd, output]) | ||
26 | self.assertEqual(output.strip(), '', msg=msg) | ||