From patchwork Wed Nov 13 15:31:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Kuster X-Patchwork-Id: 179323 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp9761274ilf; Wed, 13 Nov 2019 07:34:44 -0800 (PST) X-Google-Smtp-Source: APXvYqyw+7OiQ9yYuniCVzeTHuuNfH8rE7gU3hhHOk4vThFxqxnGLMQb8IPKRaEgGXcvOVPbI6Ot X-Received: by 2002:a62:7697:: with SMTP id r145mr4936536pfc.261.1573659283999; Wed, 13 Nov 2019 07:34:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573659283; cv=none; d=google.com; s=arc-20160816; b=UdCmP5377KvIaF3BufP2wbNE1rWg5PPEGbtcx/ZwRoKHbmtptkQOWk/MF098aVsemP qwmHZ06LN4/d1tIqGbkMWW0WJ85ofB7641niGlPMBQYzarc9cUHcHo1kKmvatGx7XDi0 knOYiSKP3V326v8krhUB+p5sAM0eHhW3C7Nh9vi/LjPiQlRVIXtat5kn0c85hoTk2kAh wr4MhhQA7PbAe5y8PKl50xMmCnA/LdRq4SxIrKdhLvsO4bymUmUg+0ntMOHnW3nu0F6z a9Wkg5eHTB13Aq+ELYyWkNW/zZoUoJvl+rqnfmSteddwCQzDhPnoEaqThjZ/sOkqmOOx J6CQ== 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=TSbjXhlAqaN1K0MFfol6VUufVALSbbY6nb2fH8YGveoAt5zB4l6oNXGyehoI5LVR9w z+Xcy/kECuB+dwIgaFzOxH1USK1aazQ3vIQvSz7Wu8eteIcr577oL/FlkFoU51MGCUsW 7s6G6QxqaLWiOAruZhBRdo3+aMaSBBcRadYfGSQcYsCulQ8b6RAorqmteHPyV8jBFoCv s5/Oth5x+xwjSvC2DfQY0iERsSp0s+2a9RwQ+7zlN9xQoTtIMysD8xxCC5Ssm3L7NCIZ 7iRtLzvD4uW7kvi8Hm1v86CKoRYmQK4YwVmMlj+rVQpBjB2yyIhLA5xE8canWVugREZD dgkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=MsmS0MMF; 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 j64si3404404pfb.274.2019.11.13.07.34.43; Wed, 13 Nov 2019 07:34:43 -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=MsmS0MMF; 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 1005B7F841; Wed, 13 Nov 2019 15:32:49 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mail.openembedded.org (Postfix) with ESMTP id A19FA7F7D5 for ; Wed, 13 Nov 2019 15:32:37 +0000 (UTC) Received: by mail-pl1-f172.google.com with SMTP id a18so1209988plm.10 for ; Wed, 13 Nov 2019 07:32:39 -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=MsmS0MMF+36wjmm09N/RNg2omEGykyjGfwddgWhyHMKBMZ8nXnshigN9q0tgKNofDP /ecEFrB/26UmefHRPz4hmupWOKgt+ACCclX39cWWVQF7jmkfnfaX/uZDHSoTZATaai2M DdCQHIGRDCZ/oDW+gCa0Cu32Hc8QgUR/maqIqaO5ZmFC4Cxvfs0eS0+9nKxLA+piPJ0b GHmWtoNynvpwaDokwaZL41ssYZpsXM01fiEeEVibrqeW7DAjHUJZ748myq1r++NUs/dc P5Sl7x0z7dFCEqP/k4aENUagDDyB41As9J/zcLrj8nxKL7hop/6aKJCcQpA7FwoR0023 X81A== 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=eRSLeqevWkdrDQATcDY8mea5VOG9c3AXjJml+/gPj8y0PClsC8/1xhkobZ9fZUWoOG Ze8tJn5Li8L8PlzbONma1c0EB0cGEo0r1Un5sL2uSVGEmHMh8ZOdAqfvCwMHwr0I8AO8 PFC5JugN7XwJ1fNxBA5b3RFo6oWf1/MIvFverZ4sv579nUWHIgEqw/3HbObTDxvxK1DT JMFsRApXjsbVp7J0CdzM+X4wxF2orRYX7AnGkwXZcgLWWMsZr6R0tiJuJJggKFyWfM4m r36VtZ3kiI5006EUPjmCrUD1WVEXncUYl11Tw/PQ5ejawWPKOqZ5VX2XJHZ36/3INz6y f+/g== X-Gm-Message-State: APjAAAUy1iPHS+zp0zgRggJe2n1thdavxlz9CcXvH0NrZJ5D6IaxAI4i 923iVXrNS8CWwfAdINJuEZ0pM5VT X-Received: by 2002:a17:902:b482:: with SMTP id y2mr4529946plr.128.1573659158449; Wed, 13 Nov 2019 07:32:38 -0800 (PST) Received: from akuster-ThinkPad-T460s.mvista.com ([2601:202:4180:a5c0:2cf9:53ea:e6ab:d378]) by smtp.gmail.com with ESMTPSA id s18sm3713613pfm.27.2019.11.13.07.32.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Nov 2019 07:32:37 -0800 (PST) From: Armin Kuster To: openembedded-core@lists.openembedded.org Date: Wed, 13 Nov 2019 07:31:55 -0800 Message-Id: <4668ac8c2600fe5698f030ed1e8cba69c0989a2c.1573658916.git.akuster808@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Subject: [OE-core] [zeus 13/31] 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