diff options
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/buildoptions.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/lib/oeqa/selftest/cases/buildoptions.py b/meta/lib/oeqa/selftest/cases/buildoptions.py index 3ad65b4034..6a5378d3ff 100644 --- a/meta/lib/oeqa/selftest/cases/buildoptions.py +++ b/meta/lib/oeqa/selftest/cases/buildoptions.py | |||
| @@ -162,17 +162,14 @@ class ArchiverTest(OESelftestTestCase): | |||
| 162 | 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) | 162 | 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) |
| 163 | 163 | ||
| 164 | class ToolchainOptions(OESelftestTestCase): | 164 | class ToolchainOptions(OESelftestTestCase): |
| 165 | |||
| 166 | def test_toolchain_fortran(self): | 165 | def test_toolchain_fortran(self): |
| 167 | """ | 166 | """ |
| 168 | Test whether we can enable and build fortran and its supporting libraries | 167 | Test that Fortran works by building a Hello, World binary. |
| 169 | """ | 168 | """ |
| 170 | 169 | ||
| 171 | features = 'FORTRAN_forcevariable = ",fortran"\n' | 170 | features = 'FORTRAN_forcevariable = ",fortran"\n' |
| 172 | features += 'RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath"\n' | ||
| 173 | self.write_config(features) | 171 | self.write_config(features) |
| 174 | 172 | bitbake('fortran-helloworld') | |
| 175 | bitbake('gcc-runtime libgfortran') | ||
| 176 | 173 | ||
| 177 | class SourceMirroring(OESelftestTestCase): | 174 | class SourceMirroring(OESelftestTestCase): |
| 178 | # Can we download everything from the Yocto Sources Mirror over http only | 175 | # Can we download everything from the Yocto Sources Mirror over http only |
