aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/failing/86 dub compiler/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/failing/86 dub compiler/meson.build')
-rw-r--r--meson/test cases/failing/86 dub compiler/meson.build17
1 files changed, 17 insertions, 0 deletions
diff --git a/meson/test cases/failing/86 dub compiler/meson.build b/meson/test cases/failing/86 dub compiler/meson.build
new file mode 100644
index 000000000..36f1849e5
--- /dev/null
+++ b/meson/test cases/failing/86 dub compiler/meson.build
@@ -0,0 +1,17 @@
+project('dub')
+
+if not add_languages('d', required: false)
+ error('MESON_SKIP_TEST test requires D compiler')
+endif
+
+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
+
+if not find_program('dub', required: false).found()
+ error('MESON_SKIP_TEST test requires dub')
+endif
+
+dependency('dubtestproject:test2', method: 'dub') # Compiler mismatch