From patchwork Mon Nov 4 12:14:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 178397 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1399464ilf; Mon, 4 Nov 2019 04:15:20 -0800 (PST) X-Google-Smtp-Source: APXvYqx6XNtEwjJ83f+RgS7ZwQCc3b718h+cv84M0gcnKBl4ZRErkW7k8tAk65xbYDLrTD7yBnXH X-Received: by 2002:a62:68c1:: with SMTP id d184mr20926364pfc.195.1572869720318; Mon, 04 Nov 2019 04:15:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572869720; cv=none; d=google.com; s=arc-20160816; b=g+I+BrE+7Ff/PaUx2EBResZmdmLQT8bCHAG66iK9anRKLzuMtiWDBLtSNAkK2Mc8XY Ws2ZjJFU/BqjtqKGpDeekjVVUlnhP2SrrzFMSeI5PTPc/dCP3EE54m6huO1TKfjoa9D1 NvQJ6X9aYastiNdfw8v30gwFxfpcRGAduBQy1yi5zaSQo7RIv6dUitoiFLZrfXIM7Ilo XIMqCe9lMXLyiW33sbweNYLOntBX3mOrrfd0R3oumybJG59c829nvFEMEKNyAtOZRDel GJLYfLS0jxvsqUFItDd8drj/zY9j33Ija7YwJfY2OUy7WysMJx9Rqe5n/fjazj+4bglC b7qQ== 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:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=juqaIgvSQU2SMblj2x6QPk7lmJGY6dPl+O99ojNMShU=; b=llp5NzSR1IgizTMfWHDSqmcX6F+L+5dPs/nQMt1xXgTRUpGnI+75JGUuXrNBesxxQl 5xmeCSRW74NOtLHsghrR6nJr2vL4xeGiRVdr9vL3jS7O5fxyPwES/tKSQ2HI9IzuSlch iSs1GqQHqOasN8YpTQwLyU1lLnWc2gdsRXjrEQzmOy9XNeRWFy8LrievVbM8gvNkM/vj zYhGauq5DEV2hgy/FxyCOpVX3zPO1IXXoGQ+vjUSkOD2mftIntniWbzj/Tp7vb7/s/Vs kY/UMUpDs+41vZzFgvsAgJOZz+Aa7GhCnXq/CNi3qTqdmEX/QB0jQQUPR/CKHbmtaMzG hEUw== 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=UG2+V3yn; 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 c21si21979919pgm.567.2019.11.04.04.15.19; Mon, 04 Nov 2019 04:15:20 -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=UG2+V3yn; 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 E10707F8A7; Mon, 4 Nov 2019 12:15:11 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by mail.openembedded.org (Postfix) with ESMTP id 263D37F87B for ; Mon, 4 Nov 2019 12:15:02 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id n1so16794956wra.10 for ; Mon, 04 Nov 2019 04:15:03 -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:in-reply-to:references:mime-version :content-transfer-encoding; bh=sJkY+x+G9K5dgSRgoWD7sFFmhdGSWuPryLIIBp5Sou4=; b=UG2+V3ynxhzzAIfWWDq2KgwjuQaZkz7VjY6uorJ1uD3785fmIyED2KKFBVzYy6Uj8V rcTB6M/3BU5v1umiVYSZtzjhdSXgO/eawMabIrZkGvWn58+9ZI2/COqoLQMgmekatpMy HZ2oyIkYbTDpGUspCJHRp+rNaCmo70569fPSG0eT92+loUsilBK1svMfViX6I4Ztk2VP tLJQu6XiO/wMKmp0ENcQr6SjzmL0lpD/rbNnCY+fB20cjcLYiUa8rGt+MkBGQRdENnv5 2Hr6/zlj5ARAb2KVu1OKCfYZhAfgmnk85qZ2z3lGCSX5IsGrXK7bIBBv9QEWwZPCCTKz RTDw== 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:mime-version:content-transfer-encoding; bh=sJkY+x+G9K5dgSRgoWD7sFFmhdGSWuPryLIIBp5Sou4=; b=sGNAXDWjNlOUnV5NfqSA7CC68x90//UdYOV80P+m3ale4oV6nUtwZb/KqjzDSuFQz9 4Hwxb4SMElRX4fQWHpOwuV2H7zHC73aAN9i6Br3Db+xItgIxefRjdZdauFKbSY95w/Oe g35bcrdbDZ/xhtbDXMsB2RToK97a+Cg0wxauQav4pKCn3rLHeH/k8acSJOp3jnx34cU7 YI9SIISWmuRCi/ZrXAmvlg+OHOrYa/Eem0q0NjH76Ovdqd2PYORaKKAfQrja4zqX3jW/ CzmgFv6bXqPoRZwWYWY6VyuNptkowcpQZzHtAYLyW1nyS54IxTxfVMf7ZZMx4WbmO6xg 9ZYQ== X-Gm-Message-State: APjAAAVNUHcey4CwThiL/q0+42KroGix7fJU65FbpZS/cnpS2ITLLOQP AhEBuaqDSECeV16aXpNTA3U8GSmH0YQ= X-Received: by 2002:a5d:4649:: with SMTP id j9mr11645318wrs.248.1572869702841; Mon, 04 Nov 2019 04:15:02 -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 b3sm15388077wma.13.2019.11.04.04.15.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2019 04:15:02 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Mon, 4 Nov 2019 12:14:57 +0000 Message-Id: <20191104121457.22123-3-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191104121457.22123-1-ross.burton@intel.com> References: <20191104121457.22123-1-ross.burton@intel.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 3/3] file: run test suite when building natively 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 As we apply the same patches to native and target builds of file, we can verify that the patches are not breaking by executing the test suite during the build of file-native. Signed-off-by: Ross Burton --- meta/recipes-devtools/file/file_5.37.bb | 4 ++++ 1 file changed, 4 insertions(+) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/file/file_5.37.bb b/meta/recipes-devtools/file/file_5.37.bb index 80e8b91058b..a96ccc0d399 100644 --- a/meta/recipes-devtools/file/file_5.37.bb +++ b/meta/recipes-devtools/file/file_5.37.bb @@ -29,6 +29,10 @@ EXTRA_OEMAKE_append_class-nativesdk = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/ FILES_${PN} += "${datadir}/misc/*.mgc" +do_compile_append_class-native() { + oe_runmake check +} + do_install_append_class-native() { create_cmdline_wrapper ${D}/${bindir}/file \ --magic-file ${datadir}/misc/magic.mgc