1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-07 15:09:50 +00:00

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>
This commit is contained in:
Ross Burton
2018-07-27 15:23:12 +01:00
committed by Richard Purdie
parent 6c7709edfc
commit 9de268dd60
-26
View File
@@ -1,26 +0,0 @@
from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.decorator.depends import OETestDepends
from oeqa.core.decorator.oeid import OETestID
from oeqa.runtime.decorator.package import OEHasPackage
class ScanelfTest(OERuntimeTestCase):
scancmd = 'scanelf --quiet --recursive --mount --ldpath --path'
@OETestID(966)
@OETestDepends(['ssh.SSHTest.test_ssh'])
@OEHasPackage(['pax-utils'])
def test_scanelf_textrel(self):
# print TEXTREL information
cmd = '%s --textrel' % self.scancmd
status, output = self.target.run(cmd)
msg = '\n'.join([cmd, output])
self.assertEqual(output.strip(), '', msg=msg)
@OETestID(967)
@OETestDepends(['scanelf.ScanelfTest.test_scanelf_textrel'])
def test_scanelf_rpath(self):
# print RPATH information
cmd = '%s --textrel --rpath' % self.scancmd
status, output = self.target.run(cmd)
msg = '\n'.join([cmd, output])
self.assertEqual(output.strip(), '', msg=msg)