From patchwork Mon Dec 9 12:20:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 181019 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4272872ile; Mon, 9 Dec 2019 04:20:19 -0800 (PST) X-Google-Smtp-Source: APXvYqz85ieIpjY2QprtHE5TtFRg40Zwja9bJbloWG58QQhUtSjHNbsJnEQCPvlhnvvwHDUELrY/ X-Received: by 2002:a63:3245:: with SMTP id y66mr18401741pgy.234.1575894019789; Mon, 09 Dec 2019 04:20:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575894019; cv=none; d=google.com; s=arc-20160816; b=ys69Kvr/OYMSuEb9yvpbumsitqpb52k1h7r8xw3e2bf9MqkhhTwXQWFoYE5CkGFQ9q q8x1jSI928zd/cD8h8Z5unK37X5i7iY0vuUcu+S/985ZPeR47mIc8Fv69ie2YWXFhV3Y 0ZoGRtJDvHX8vE/ShgAfAN/2p7B3Les8CUqfqKkxpa7Nqo3GFgvSDrTN0Z4S2d3zguzM vQ8Btu1fBjxvT516XGMWb3WhbNrZcqctXZb5ddnUn2174MCvyy+kQZ8DIgcBmI4skONQ RGOEQkSF7pn6LHsycL62JgDJLxD+z84gb6nj6R/5i1KLRttxjfPv/wvgszar+4sGyY5S lc7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=dOl440Met8YncB+S1JHOX0hHzsG3LPV009Q0nWLfiIc=; b=cNqxcF0HhEfY+hb5y78UAJcEbYpV3q2Qkn3C6r7DU0HIf8qTN+YTgZc5e5P8XB7aQ/ HJUnjTonwfBc58j496riVotv0AULFygGF03WmIrrHm7R8ewFHse0Frz+iIvvv69hJxc0 ju7YNwaa0beNdoWj1LoNHqQdgwwAvKYB8JLdqgTkoHCWtLqEiPxmtGeAJuvWxbThWMYQ +MK051P9XwiwK2PFgzQNa/gc+ujXXUtwKVgDFuk15xXjhwB6LX3uh50eAzHqxeCExC+S o9dhlqVwWxFAnO7/3HQueVnd5WCxIReavBK/sRPiDpnI4F7CNtXb4zG6fj4lef+oO4uu YFGg== 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=Xvah80Hl; 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 a14si18803621pgk.542.2019.12.09.04.20.18; Mon, 09 Dec 2019 04:20:19 -0800 (PST) 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=Xvah80Hl; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 571D67FCF2; Mon, 9 Dec 2019 12:20:15 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mail.openembedded.org (Postfix) with ESMTP id 832FE6B07F for ; Mon, 9 Dec 2019 12:20:14 +0000 (UTC) Received: by mail-wr1-f46.google.com with SMTP id c14so15948865wrn.7 for ; Mon, 09 Dec 2019 04:20:15 -0800 (PST) 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:mime-version :content-transfer-encoding; bh=ocBemKmEMkZhU6Cq042ESzkRVAM9JItad2X1c25Ob9U=; b=Xvah80HlYhzd244mREHEc1HjLn/Nd6XWj0JX2YuwJGYfFG5PYWCxXTbXLgW3xueuP3 rXipQjgwB83cCUyrs1ZiwwEZJFjX3uJGL57M0tqJHSdS05k5wytj8vbW+rxtWQ/cLqFS E44mRX61nfEeV0Oom2R9c55sSz/SXoSpiQp827W0Zmk/pOFQ+nv8btdbRF/KbZEHHjD+ cTTzwnE8/qWDd+6rswDzE1qwSU0HCNkFsUZ9KrLot0RHctHmeQIgtB2pUcxqWwXxuTJF LN3QMOvrULS7t38Nl0pPUarFj4EBIk+HV1m/wq5Gdo9owYXSNHIRwhylXlylqKoUVTK3 k0Tg== 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:mime-version :content-transfer-encoding; bh=ocBemKmEMkZhU6Cq042ESzkRVAM9JItad2X1c25Ob9U=; b=ZfQxOtI5NtBiE4+FBsDoGlLU2jWFRiJVTSyEGy5SQOcbUFGRDZQj6myIyM618/YPK0 vth1wfBgWYo7r1UqB3uqfU0Pe914FI7W0T+PR8akJrRz5TtYnYhx8XS6JkN63xiz29N6 v22Y474X00oT4d5iR9/GlKEnWRYRrskVj/0NUsGG3+k5k6wpIJoCvLmqSUO2fSjpEJAo a6npQfBUp6RUm1JYwYZZoKYon7rExK7+v1pW/dzvSDFPBQb0LYxjwVFnqzlIOgoM6CNH BWF3zo5jTLK7BMgeQOLII+esi9Eym2QdV1oQqC/gge/pTk6uu4nXA5DazKLxHm4nz8xg VCxA== X-Gm-Message-State: APjAAAV+1UyWfTum34XXqiNfHIlt5op+tvu0JV2DHy7LJg03M6IQXWL9 8FmP8dKoBg9LicMrgt8Xn8Wzs2hPfZM= X-Received: by 2002:adf:9427:: with SMTP id 36mr1904613wrq.166.1575894014891; Mon, 09 Dec 2019 04:20:14 -0800 (PST) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id a3sm14611177wmh.5.2019.12.09.04.20.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2019 04:20:13 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Mon, 9 Dec 2019 12:20:04 +0000 Message-Id: <20191209122007.13306-1-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH 1/4] selftest-hardlink: don't RDEPEND on gdb explicitly 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: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org For easy of reuse and speed of building, don't RDEPEND on gdb explicitly. Instead put gdb.sh into ${PN} and explicitly install gdb into the image if needed. This means other tests that don't need to use gdb can reuse this recipe without waiting for a target gdb to build. Signed-off-by: Ross Burton --- .../recipes-test/selftest-hardlink/selftest-hardlink.bb | 4 ---- meta/lib/oeqa/selftest/cases/package.py | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb b/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb index 842a9772cbe..8b336a04c9f 100644 --- a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb +++ b/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb @@ -24,7 +24,3 @@ do_install () { dd if=/dev/zero of=${D}${bindir}/sparsetest bs=1 count=0 seek=1M } - -RDEPENDS_${PN}-gdb += "gdb" -PACKAGES =+ "${PN}-gdb" -FILES_${PN}-gdb = "${bindir}/gdb.sh" diff --git a/meta/lib/oeqa/selftest/cases/package.py b/meta/lib/oeqa/selftest/cases/package.py index b87f8dc3e2c..c6444062674 100644 --- a/meta/lib/oeqa/selftest/cases/package.py +++ b/meta/lib/oeqa/selftest/cases/package.py @@ -118,7 +118,7 @@ class PackageTests(OESelftestTestCase): def test_gdb_hardlink_debug(self): features = 'IMAGE_INSTALL_append = " selftest-hardlink"\n' features += 'IMAGE_INSTALL_append = " selftest-hardlink-dbg"\n' - features += 'IMAGE_INSTALL_append = " selftest-hardlink-gdb"\n' + features += 'IMAGE_INSTALL_append = " gdb"\n' self.write_config(features) bitbake("core-image-minimal")