From patchwork Mon Jun 24 16:22:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 167628 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4424512ilk; Mon, 24 Jun 2019 09:22:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5xRK02fw1b/UEqxrtcK1Bbg4xqZtfVPHPyt7t5rmWsCafVnocbMOGassnJstFm2bGG064 X-Received: by 2002:a17:90a:9a83:: with SMTP id e3mr25282483pjp.105.1561393360931; Mon, 24 Jun 2019 09:22:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561393360; cv=none; d=google.com; s=arc-20160816; b=g1Gij5bbdUb+Kcje3bvboTpdgU2/6tGXhuuq7c8yDdcg/kqg30hpDtR5bg2uS3PGsE ez7U4qCqICcDrXy5NA6/3/LEvndsC7wKisBCMYynkfooK/Vr51KoVmnCORcIAdw/Bj5d N+BQg4QLhgfLDwlwx1rmCybWKjKHADr0YuYxGp3Qg8G+TijsBTGfDeOxGdlazXt86aXW AdpHr+dvgGcxVCyOAfE0OST/FukF1Tcwdq0IAt2WK9yNEKc7XeIlW7+00pUQrer0gY8N O0l4LNVrndScr5HcfHdBFFdp9pTfKYvyDvvwb34GIzyZAk93fMnuykU3AkzSBXQ3entJ W7yg== 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:message-id:date:to:from:dkim-signature :delivered-to; bh=N42mG7PilhnhQ1gxWn0HeTHipJ2ebf9XssjpVNWpCCU=; b=lcg+cYCKdCLXIN46V68z/Y6aEett0RvVn2dZKYXeaHaJYC2vGdZelOxaYJypp1DoS5 Jz7BQukhYRh1QqpBu+cFEVPZtsOReuiyslCEjFgXp9kPXngbhTMcynUMWMERvllYL4gA dzH5qeDPkR5lNcdp2AApZQz/773R5iACeRKKxuBB1PisAcswaBwInf7K1NkPEZtDjl0E 2tyeY+5FpryKQ8FodVEvxC+N3Vspfax0rbUsEurU1liNVJpCkSGop4r5GTBsjfBV4JBl GNzR3x+Zpm4vYuD0tLRDJ5tfFbpMn86wZE8ZiNrPEL4VBGaoWGCTVMKkk30VMiZVULBr OOfQ== 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=UocRaKJB; 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 d38si6151128pla.287.2019.06.24.09.22.40; Mon, 24 Jun 2019 09:22:40 -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=UocRaKJB; 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 D8CCE7E096; Mon, 24 Jun 2019 16:22:38 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by mail.openembedded.org (Postfix) with ESMTP id E596E7C5F0 for ; Mon, 24 Jun 2019 16:22:36 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id a15so13397242wmj.5 for ; Mon, 24 Jun 2019 09:22:38 -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; bh=023sk1BXl1kXjuT1LS530a5f2pdsH6gjz05kIkI1YIk=; b=UocRaKJBaddOwTJA1o347twnGLUBjkNUZ8HgEpXIr5rNHNQqxf8RrAIQftSsWDh8eQ 0IVXRG+EauVqLHBikhlhOwA3PlQW5EE2SyuAw4GGkxzSqEfxb2vG5xscZHu6mmAmOiqt wWiHegcZms7hFN9No5yLLCCfH8T16Q2q1Ays0Olu5z7NNE0fCnDsG5kWv4CPnIeL+KNi o/1XTLV1pnAfHejjeZ8iZES8nkwUT4mmtOy4kvjEJinFzQVzpVbHtHhETj5IFnKAl9Ve RbEq2DnhXA8Kx7MP76oyjdGxPiv+qz7RvZD62hfDFDz2Hcr34fqg3OQbiFygFrYFzIgT tiAg== 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; bh=023sk1BXl1kXjuT1LS530a5f2pdsH6gjz05kIkI1YIk=; b=Kd46V5F//24HDGDOiuMBDlF8sEmALG+AZxgnfxs/mCTcQGPltXA74WgG3WG2g6zHIZ rDXj/PCYOb2TG/dWpSdlOkXNxJf1u65xxJl+gT1NLx9Ebn6pywaLdIdGmcbqGDpHNB+m EmXdfMqGtxFWvl0Y+JE6urZGFd7kU4oNmgQvS28+Irhqi0o+ouej/9q4lfAdRhsO/YjF RyDd7GFRbcSPosiBREDWR2fy906BnjbUDZiKnW2Pw7k6y6g2KBh9WJw6l9whepyB42ag BfS2Ot8I56uAaIq//CbstwhCeV+Fr+hh3QhKuI5epGcFD80sh5vq338Z4QjqbhPrsD0s TTvQ== X-Gm-Message-State: APjAAAXS2CgNUAxSbAEwRfC6vbIu8IagMNrgUwncWKxTMekPIj7F5lsg ofHrVArGCLNF6qhpWsVjW/rgqxbOWcU= X-Received: by 2002:a1c:67c2:: with SMTP id b185mr15712826wmc.98.1561393357408; Mon, 24 Jun 2019 09:22:37 -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 c65sm10134570wma.44.2019.06.24.09.22.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Jun 2019 09:22:36 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Mon, 24 Jun 2019 17:22:31 +0100 Message-Id: <20190624162231.3195-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH v2] oeqa/buildoptions: check that Fortran code actually cross-compiles 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 Don't just test that we can build the cross-compiler, but test that it actually can cross-compile some Fortran. Signed-off-by: Ross Burton --- meta/lib/oeqa/selftest/cases/buildoptions.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/lib/oeqa/selftest/cases/buildoptions.py b/meta/lib/oeqa/selftest/cases/buildoptions.py index 3ad65b40341..860812754c6 100644 --- a/meta/lib/oeqa/selftest/cases/buildoptions.py +++ b/meta/lib/oeqa/selftest/cases/buildoptions.py @@ -162,17 +162,14 @@ class ArchiverTest(OESelftestTestCase): self.assertTrue((g.glob(src_file_glob) and g.glob(tar_file_glob)), "Couldn't find .src.rpm and .tar.gz files under %s/allarch*/xcursor*" % deploy_dir_src) class ToolchainOptions(OESelftestTestCase): - def test_toolchain_fortran(self): """ - Test whether we can enable and build fortran and its supporting libraries + Test that Fortran works by building a Hello, World binary. """ features = 'FORTRAN_forcevariable = ",fortran"\n' - features += 'RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath"\n' self.write_config(features) - - bitbake('gcc-runtime libgfortran') + bitbake('libgfortran fortran-helloworld') class SourceMirroring(OESelftestTestCase): # Can we download everything from the Yocto Sources Mirror over http only