From patchwork Fri Jul 27 15:32:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 143081 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp962610ljj; Fri, 27 Jul 2018 08:34:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdv0krWFyM5ccFRa1ibz7flxMA/UVhQUhPd3KNDQbi+nH+tfvAJKWhxBtUcifXEQ5/hMsti X-Received: by 2002:a62:c1:: with SMTP id 184-v6mr7225759pfa.100.1532705684017; Fri, 27 Jul 2018 08:34:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532705684; cv=none; d=google.com; s=arc-20160816; b=dOFD4O9+P3hLz/tL2XWvnmGijbLgTMoC9YLLU1dIGd0B8IC9c0IftUuehfjNRfiPVk FlIboRyz6cXDSO6j6Gciit0/gOeI/bSEEXx4aGt9nSRHMZlWPBDYG6aTKvZB3GUNX+SQ RZ3RzFm+g3TSLmTI0/68GCDb99cBnGkFM8I2p3rRNILLUjY2IEIyX4CPXBiMz4sXVhLh FW0FO+ieWz7AsfgauUaAnPYvuUM3enqDkabCyg3vT8m2KGLv91/mL1TEHReq6wisMMcd zs2PSD3j40kOgXIsJrET13qK+hzRNNgWu34pNaioyUNjaL31izapE7G1pjvRU08a/jVY 2yxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=M7AYBYIrhorWLzySDVyGaeRiU2MSjrV2WhUxr4reww8=; b=ifn0W7pqyQ2ekHG2vAWIFOxRQjes7+NGwIngDwYD1kaE4kDIis7WxRFJJMfVBoycIk dVq9ESIzt5kU5+jQhnsgmr6boNzRlmVcn+4WZDLI2qn5Nxbrk9Rd19KS0od/LxZI0j0W TSf40Zb9BF9ikgli6s+jDmdAB6/ygB0B3WYyMrAPcDDku1UjVEeSvfRJp2o/7K95V/XD nR2oTNmQYQlMll25X8+t1GoSVH67iLExc1JVhsi+rPsFtegKG1Ayr+OKbThUCL3fsf1Q oAYbyQvr1gDKOsT8sPN/AQQNsT8kItX0U4XUJ+5Rn21jEeHJuCWASuxcYKooP53J66SR Fcuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=KDJXJGuo; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d2-v6si3877209pge.404.2018.07.27.08.34.43; Fri, 27 Jul 2018 08:34:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=KDJXJGuo; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7819F78D8C; Fri, 27 Jul 2018 15:33:30 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by mail.openembedded.org (Postfix) with ESMTP id 5B21778D2F for ; Fri, 27 Jul 2018 15:33:08 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id o11-v6so5639276wmh.2 for ; Fri, 27 Jul 2018 08:33:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=Zp+HexAIxv4wjFZrbrKC6ZGE7U3w/qDMtEPkwjYFXIo=; b=KDJXJGuokdsPVznYoo1S/+W4r/qqTVVkS7pc9dTfgwPv7eBRcDC4kYDtdFB+Qoq5l6 euFSsXsEvjHmbU+nhOSsuz9ER6f/p46XQ3H9tJ9nMCJ78NdsH1EAa7nuQ4++DBu6ccJv yuokg0gypWObHf9zbZgMMtuqgwTvLDDjavtNq+R5xYz3O0uuxe2y3SaCUEGUnz5aqmxG Gq1TZi+yqaac1Ec6Nej2jbFE3OVgBaA75EjAj+yBNy6Y3gtamWzwDga8i9u1mjP6vz62 hS+Xlo8kjuto7i3qb5KbSwAQCFy+kOKh8xZHaAifHNEFY412NvbDFpcZchSL5Y4GYxS3 nhsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=Zp+HexAIxv4wjFZrbrKC6ZGE7U3w/qDMtEPkwjYFXIo=; b=sDag0Y/yhyclc11UozGPr9a7n9/G2+vL/VEDgkOE1PRDSgKNV3xy/wwoprdz6EpJqL 8S5CWptBT6XN2A8jxJxpTRTYkZmviRHBCQO9WzopcsIBWxA/IzhI1HHaTlS2LL32n5sZ 8hB1hCLFcGPhPtSxu9ufQjGQzIJgtCRwSBx7jsz8A1bLOvvU7mqMQVdhbCWWAq0g7WA7 xfo1G414hDTA7bpOfz1X5JgiEHMPEb576QQay8Dwietw/7C9G6ohWrGwWfG24qiOtJGS UaA+dj2Oh/Pzxgfrrpp4Uqnoq37yKMtNTAboGJGn1x7Il/2j36E3UBRSFGji7Ns8NlB7 S1fw== X-Gm-Message-State: AOUpUlF8C3A5/apEOYpRhlp+0o0OUHJN9bBaTqqXOquii0t36iQDC9IS TXSgFynKOd0rct5UjTh0B99itp0bSd0= X-Received: by 2002:a1c:ec06:: with SMTP id k6-v6mr4931564wmh.39.1532705588803; Fri, 27 Jul 2018 08:33:08 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id z62-v6sm3804916wmc.10.2018.07.27.08.33.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jul 2018 08:33:08 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 27 Jul 2018 16:32:47 +0100 Message-Id: <20180727153248.22838-15-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180727153248.22838-1-ross.burton@intel.com> References: <20180727153248.22838-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 15/16] oeqa/runtime/scanelf: remove X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org 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. Signed-off-by: Ross Burton --- meta/lib/oeqa/runtime/cases/scanelf.py | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 meta/lib/oeqa/runtime/cases/scanelf.py -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/lib/oeqa/runtime/cases/scanelf.py b/meta/lib/oeqa/runtime/cases/scanelf.py deleted file mode 100644 index 3ba1f78af9b..00000000000 --- a/meta/lib/oeqa/runtime/cases/scanelf.py +++ /dev/null @@ -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)