diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-01-28 20:39:52 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-01-28 22:15:02 +0200 |
| commit | 3997649139b76a15dfd6d5a2ce406b86c7728748 (patch) | |
| tree | c42e84c5cd420d03159a3dfcc338bb82836a312f /test cases/fortran/9 cpp | |
| parent | 8636f31d9c6f44a19cca0622b5478fa6202c1334 (diff) | |
| download | meson-3997649139b76a15dfd6d5a2ce406b86c7728748.tar.gz | |
Disable mixed (mscv/clang + gnu) Windows Fortran tests. Closes #4829.
Diffstat (limited to 'test cases/fortran/9 cpp')
| -rw-r--r-- | test cases/fortran/9 cpp/meson.build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test cases/fortran/9 cpp/meson.build b/test cases/fortran/9 cpp/meson.build index 21a7449c7..ad7d4b206 100644 --- a/test cases/fortran/9 cpp/meson.build +++ b/test cases/fortran/9 cpp/meson.build @@ -1,12 +1,16 @@ project('C++ and FORTRAN', 'cpp', 'fortran') cpp = meson.get_compiler('cpp') +fc = meson.get_compiler('fortran') if cpp.get_id() == 'clang' error('MESON_SKIP_TEST Clang C++ does not find -lgfortran for some reason.') endif -fc = meson.get_compiler('fortran') +if build_machine.system() == 'windows' and cpp.get_id() != 'gnu' + error('MESON_SKIP_TEST mixing gfortran with non-GNU C++ does not work.') +endif + link_with = [] if fc.get_id() == 'intel' link_with += fc.find_library('ifport') |
