From patchwork Mon Nov 11 18:29:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Kuster X-Patchwork-Id: 179107 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp7024107ilf; Mon, 11 Nov 2019 10:32:32 -0800 (PST) X-Google-Smtp-Source: APXvYqxyIgvCNGpdDRUGCnPuEVJMxaGJDYSGv1fTrAm3U+zxhmklYJWHxJw/Z4uEiATvUhS5YnSx X-Received: by 2002:a65:6482:: with SMTP id e2mr29817864pgv.20.1573497030422; Mon, 11 Nov 2019 10:30:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573497030; cv=none; d=google.com; s=arc-20160816; b=CY3cD5nkxOTJSbf6uFBPKCK4EXlORi0UZcJJNXNQXSzECiv7lpGjx/PLfkJcy4cKwN oAK0eNb0EXq+AjdAPA34z200vMudkS6Jtu40EN+YPE5f3zOoHR4zmvxxxrVFaV9//o4+ lWkuOE0W1+SQUMMeW1IsbtmbD3TRK0z6Jh44JSVl9RRlfC1h+ZG+5ztLt/FSQNSZwepN N2d1s2koUZigOdFWw3uJL8oK0RZXMSM2Kpw+KAmlCsx4Gy358HFJIk167DAUDvEa7rtV 1ImXkKP/TCu9EzTsLnOLPGHwKmBCb/VPV7mTyUQPkMm+OgPSy+cFnp9LInCeeI9mooHn 7yug== 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; bh=5WYgrVJlPvUSrLwYsCghtJgnaA5LSCXcWCO4PAzcaAo=; b=rBkj8VJqidi6wDGRiNwCbz+0uetSFhtRObx37ZArqYhjGbFgl4khD1z7bOwL9ivajP Bc9eQqadnO2VBb3DczIM9ZtSoGy5KigjifkYiXkM4qZHlI3tbm4sn1vyJnOaH0SZrQM7 xKkqQSqPeTBzu9J9mqKFi3rQjhhmrbH5VpCRzD610j1H+gtRhA46u8X73oNGrjJIxWtQ RIVQdiu096LLlCVXrhP9RHxJvUx1+iUhGLosHO0Ps/x7CYr268MwgjWtH7JkGzMRo3lJ 0LY+pGqeuxjxSo7NkqrVlCtQ4aM+zMJysAinozpe05T3Pb1N5Sh1rXwj0bTNDnTSEuDN W1jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Ott2IbK+; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id h18si5113644pgg.259.2019.11.11.10.30.30; Mon, 11 Nov 2019 10:30:30 -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=@gmail.com header.s=20161025 header.b=Ott2IbK+; 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=QUARANTINE dis=NONE) header.from=gmail.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 D691E7FBCD; Mon, 11 Nov 2019 18:30:21 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mail.openembedded.org (Postfix) with ESMTP id 9C0477FA48 for ; Mon, 11 Nov 2019 18:30:10 +0000 (UTC) Received: by mail-pl1-f169.google.com with SMTP id l4so8097425plt.13 for ; Mon, 11 Nov 2019 10:30:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=Xpw+6a7b+ZWsOQ4dSSMnGDtZIuvfEaSDqkxaL1fT29o=; b=Ott2IbK+3ZJg0dl4bhaPjKJpavRxa1bTHzRnS6K+bR1nYN9FknLTTgYCQdQnW5EVgl C0m0VRFyxyutg5C3Uk5e64Tr23KtIi4AcTsYaoHaGL0cdKNMS/CnglFyLq2Oiw49yuXk 8Z7GnO3Ueez0uxts6UKXnrropKOQASYJ/WzzqamwlX5Y4+wuIHahaoJ476KQYLLcxfWF +1OwxyzjHeKpHePs4PTShIF1hbYPPpdSmKd0Tn1IgNPV4LBX+oSXcuIKG76tWs2kDYo/ tk6Rx0dGXMxLFEdbI/+dXzqNgBEx42tEUiYdS+PkkrZrUx4wABodHLTjmD3IGiIvBjRi r2LQ== 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=Xpw+6a7b+ZWsOQ4dSSMnGDtZIuvfEaSDqkxaL1fT29o=; b=E0we5L+nMHCsfIwEJEK9BcWUVggAFHjTEGl88jQrGqUBvFXuD96mNUvLwWvEyxqrcE ZJRy2O/1yLFxWA0+wgyQ8heod77OlZL8HJ2JqOaszDzpfgMHoV+imEtDMWt5jRIuwIsh e4Z3SP7xACdVPkxZgPuE3ewdcKsacA1gso55hriDFsqnanHAT8+f2cBmoYju00UDiC5T puux32tMToIYwNYs3htMf0Wk9jMtwx+Xr4djo6KxmjwCNCsNanqM4f6/fuAKWY7ZoSzr KbKjvi247cLyhpcndyFv84aBCi1yE78K5W14q+vowurzHOfqoPHE4VMHADpoB0DKKsKF F2fw== X-Gm-Message-State: APjAAAW1KRHzfq5WTlQ72rmkhg3wMIg2Nl+2xmtbi0kRIj2vt1C9yupW Z7M8L3gX+V600djYpBWLdtBAgBFG X-Received: by 2002:a17:902:758a:: with SMTP id j10mr28194254pll.29.1573497011575; Mon, 11 Nov 2019 10:30:11 -0800 (PST) Received: from akuster-ThinkPad-T460s.mvista.com ([2601:202:4180:a5c0:604a:b703:29ca:5c7d]) by smtp.gmail.com with ESMTPSA id l62sm17731698pgl.24.2019.11.11.10.30.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Nov 2019 10:30:11 -0800 (PST) From: Armin Kuster To: openembedded-core@lists.openembedded.org Date: Mon, 11 Nov 2019 10:29:45 -0800 Message-Id: <4668ac8c2600fe5698f030ed1e8cba69c0989a2c.1573496794.git.akuster808@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Subject: [OE-core] [zeus 03/21] 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Ross Burton 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 Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/recipes-devtools/file/file_5.37.bb | 4 ++++ 1 file changed, 4 insertions(+) -- 2.7.4 -- _______________________________________________ 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 509b6ce..60fc661 100644 --- a/meta/recipes-devtools/file/file_5.37.bb +++ b/meta/recipes-devtools/file/file_5.37.bb @@ -32,6 +32,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