diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/buildoptions.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/buildoptions.py b/meta/lib/oeqa/selftest/cases/buildoptions.py index cf221c33af..e60e32dadf 100644 --- a/meta/lib/oeqa/selftest/cases/buildoptions.py +++ b/meta/lib/oeqa/selftest/cases/buildoptions.py | |||
@@ -164,3 +164,17 @@ class ArchiverTest(OESelftestTestCase): | |||
164 | src_file_glob = str(pkgs_path[0]) + "/xcursor*.src.rpm" | 164 | src_file_glob = str(pkgs_path[0]) + "/xcursor*.src.rpm" |
165 | tar_file_glob = str(pkgs_path[0]) + "/xcursor*.tar.gz" | 165 | tar_file_glob = str(pkgs_path[0]) + "/xcursor*.tar.gz" |
166 | 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) | 166 | 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) |
167 | |||
168 | class ToolchainOptions(OESelftestTestCase): | ||
169 | |||
170 | def test_toolchain_fortran(self): | ||
171 | """ | ||
172 | Test whether we can enable and build fortran and its supporting libraries | ||
173 | """ | ||
174 | |||
175 | features = 'FORTRAN_forcevariable = ",fortran"\n' | ||
176 | features += 'RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath"\n' | ||
177 | self.write_config(features) | ||
178 | |||
179 | bitbake('gcc-runtime libgfortran') | ||
180 | |||