diff options
author | GoaLitiuM <goalitium@kapsi.fi> | 2018-09-20 20:20:58 +0300 |
---|---|---|
committer | GoaLitiuM <goalitium@kapsi.fi> | 2018-09-21 11:56:37 +0300 |
commit | 3563df04258b32c98a25185b9d59b14bacfb7ce6 (patch) | |
tree | 3eb16206698948183153eede9d3b3fbf42a3d2c7 | |
parent | e00bd3666d97bb0190acaba554f10f4527858640 (diff) | |
download | meson-3563df04258b32c98a25185b9d59b14bacfb7ce6.zip meson-3563df04258b32c98a25185b9d59b14bacfb7ce6.tar.gz meson-3563df04258b32c98a25185b9d59b14bacfb7ce6.tar.bz2 |
Skip dub dependency test with wrong compiler on Windows
Appveyor currently only has one available D compiler so this test should be skipped for the time being. [skip ci]
-rw-r--r-- | test cases/failing/88 dub compiler/meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test cases/failing/88 dub compiler/meson.build b/test cases/failing/88 dub compiler/meson.build index f5bc494..2f0b801 100644 --- a/test cases/failing/88 dub compiler/meson.build +++ b/test cases/failing/88 dub compiler/meson.build @@ -1,3 +1,9 @@ project('dub', 'd', meson_version: '0.48.0') +if meson.get_compiler('d').get_id() == 'dmd' + if host_machine.system() == 'windows' or host_machine.system() == 'cygwin' + error('MESON_SKIP_TEST Windows test environment lacks multiple D compilers.') + endif +endif + dependency('dubtestproject:test2', method: 'dub') # Compiler mismatch |