From patchwork Tue Oct 8 11:52:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 175475 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp5593739ill; Tue, 8 Oct 2019 04:52:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7vcdr5AuSaNzhqVIeIlmxuj5ZHQK1iaoT68BEAjtQAojfM0jtxY8sS5KUHy4iqgggxiu5 X-Received: by 2002:a65:5b8b:: with SMTP id i11mr27214370pgr.22.1570535534186; Tue, 08 Oct 2019 04:52:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570535534; cv=none; d=google.com; s=arc-20160816; b=HERl3dyLv3UDi1AI279OUidgEAmCBrakRjgCrr0F6b9aPf2KxbcTqzZhnXS8/Urdkk kUz1RMSWalNcZoHiuodng9bzxQHad52xhrGa+AlYcJ51a2x7V18BNdpsdPu2zAGzfMOE TCFdn/L+csWEYtllRPTSCZj0Bt6QKEaFoVoCWkfep+vtgtAlpCN3bM0iZks1x6enFkxf TwmBW3j+UrEUvX7HAGR7kPHTDTjQvhVOC4tBxZ7cA0qP2LPg9WVz8s3GRKE3cO1t23s/ rDx2Oeccr67I8vH3xsf6KyAcDutjTAAYUa2Ma/1DWREDFYsGc7XM7j++lqx+7e1w77+U h+HQ== 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=WkR352AkLOTjSIT6MUMLRkL0GDmeegHHSB+89ige6EE=; b=yPZ+nFpj8RaHbC4Sxf90gVTz1s7kxFejpIrFlCkyJAA5X1efOWaL3DfBP338jdz3Zq MhvthhERSlWfvUCWfQ1NInTSOJhca6ZTv5/98OKSB3mx7Q+3bKSQlBV9jIOLfZ0Aj+Dn JzLCYwzSt5FSdNvxhTiOzJaMbDRFTnKV6F5CnueaktiSxnwTa56LVvKTcKp5k+YAdqIz qPg+DPc5qOe6XUIv4b1/NMk1A/ycVoglahD2+vuHy68knpy0kGp9T7/rik/jcH6uazeo 8YjHfu9CszM4jH6TwfcFBWtdwqTtmJGFprs+vQM7jJZjOb/pBE6GXRRmFha7Mf1e1D9F 2Jeg== 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=pycvWGo9; 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 b9si2775815pjn.23.2019.10.08.04.52.13; Tue, 08 Oct 2019 04:52:14 -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=pycvWGo9; 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 D01C37F381; Tue, 8 Oct 2019 11:52:10 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by mail.openembedded.org (Postfix) with ESMTP id B27F87F37F for ; Tue, 8 Oct 2019 11:52:02 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id f22so2809744wmc.2 for ; Tue, 08 Oct 2019 04:52:04 -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:mime-version :content-transfer-encoding; bh=HGn4IwJB4U11A7oM75fkJbwQ6E3dTdgb1EkyHCFbrK0=; b=pycvWGo9Y6oF9pIr/LHi3lhPIpGdRNjTw8UkYRSRHE9X5vlzh5LfOoxrUHo+0Utwat M4aw/JIQh9Fn0ZE4gEqvGq37r19ARfRx4WFtO2BAeScMRiyN9q2iDMgemC974o1oQc+l HquftRvLMLC3JyT25XZ572j+WhPUic41ensFANK6xj6bzN9lZnaEQtwClSXORrHOYSkG VR5PuWfhlEEEyKW7De5E7o3qcEtL3GuAxU+lL7EE86DATLxoQzIxoJ5jDZxzCZtVk7nz hQCu7e5JXpqOnN1ei1AWMjUqcK/M7ptIm20gKpHIwVBN21rELpd9C14IfgL+CyQ4zXEM y+3g== 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=HGn4IwJB4U11A7oM75fkJbwQ6E3dTdgb1EkyHCFbrK0=; b=qlBqiGkhHu8ROBOhocH69lFc+za9hoJ08YzqbhE0jUM3xa307A90jQmSfBqCqAADTl VqKm3fy10DmmnjAh2CgAoMUupPAuyS1N/7EuiUSAZHYJ2jy9q2TMIBMlSQZI0g82peuu K2TN8e570Vs8K3KT72NnFmw+N4mHr6AGOcHyBxXs2B+5NhEdAdXYWd7cd5Z+Uhk284+t nUFNgiEkbZC82Vi12dDGMWU/951womJnQnFDpAHy3xjIzBSj/JW/IdA1bkAKP6P0N4nc yXRF6SwdTQTxfCW5cKXPLOV7wq0Zs4VcMMtqQKQJ88mFX80kmKrRweBcyRpyBPqYRMlP /vkg== X-Gm-Message-State: APjAAAX96xg4tcQxmqVOPDZBgRhXURpMHJCOKsO4sp66Ow3Vgdlti/IX P2CUVDkIHTlnwm0SQDJfYsRcbWtz0vc= X-Received: by 2002:a1c:540c:: with SMTP id i12mr3708211wmb.90.1570535523251; Tue, 08 Oct 2019 04:52:03 -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 i5sm2633660wmd.21.2019.10.08.04.52.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2019 04:52:02 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Tue, 8 Oct 2019 12:52:01 +0100 Message-Id: <20191008115201.17035-1-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH] oeqa/sdk: improve Meson test 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 Verify that the build inside the SDK is detected as a cross compilation. Signed-off-by: Ross Burton --- meta/lib/oeqa/sdk/cases/buildepoxy.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/lib/oeqa/sdk/cases/buildepoxy.py b/meta/lib/oeqa/sdk/cases/buildepoxy.py index f3d207c6ddd..4211955f8d3 100644 --- a/meta/lib/oeqa/sdk/cases/buildepoxy.py +++ b/meta/lib/oeqa/sdk/cases/buildepoxy.py @@ -32,7 +32,9 @@ class EpoxyTest(OESDKTestCase): self.assertTrue(os.path.isdir(dirs["source"])) os.makedirs(dirs["build"]) - self._run("meson -Degl=no -Dglx=no -Dx11=false {build} {source}".format(**dirs)) + log = self._run("meson -Degl=no -Dglx=no -Dx11=false {build} {source}".format(**dirs)) + # Check that Meson thinks we're doing a cross build and not a native + self.assertIn("Build type: cross build", log) self._run("ninja -C {build} -v".format(**dirs)) self._run("DESTDIR={install} ninja -C {build} -v install".format(**dirs))