[oe-commits] [openembedded-core] 13/14: oeqa/buildoptions: check that Fortran code actually cross-compiles

git at git.openembedded.org git at git.openembedded.org
Mon Jun 24 16:35:32 UTC 2019

This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit ab1ad20b1cc36a33a3aa9bfb7f0cca5cd1fe1c56
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Mon Jun 24 17:22:31 2019 +0100

    oeqa/buildoptions: check that Fortran code actually cross-compiles
    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 <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
 meta/lib/oeqa/selftest/cases/buildoptions.py | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/meta/lib/oeqa/selftest/cases/buildoptions.py b/meta/lib/oeqa/selftest/cases/buildoptions.py
index 3ad65b4..8608127 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'
-        bitbake('gcc-runtime libgfortran')
+        bitbake('libgfortran fortran-helloworld')
 class SourceMirroring(OESelftestTestCase):
     # Can we download everything from the Yocto Sources Mirror over http only

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Openembedded-commits mailing list