aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorRemi Thebault <remi.thebault@gmail.com>2023-05-18 14:50:35 +0200
committerGitHub <noreply@github.com>2023-05-18 15:50:35 +0300
commitd5ae94f571af17ec969a4320b54e322f77d6e725 (patch)
tree49c70e1fb89eeea1d1b4757574b13e7781397c90 /test cases
parent9d64143a4f7cf36c052c679a1411f60ccff2fa7e (diff)
downloadmeson-d5ae94f571af17ec969a4320b54e322f77d6e725.zip
meson-d5ae94f571af17ec969a4320b54e322f77d6e725.tar.gz
meson-d5ae94f571af17ec969a4320b54e322f77d6e725.tar.bz2
Check dub version (#11794)
* DubDependency._check_dub returns the version * check for compatible Dub version Dub versions starting at 1.32 have a new cache structure into which Meson doesn't know where to find compatible artifacts * skipping D tests involving Dub * refactor _check_dub makes mypy happier * make linters happy * localize some logic
Diffstat (limited to 'test cases')
-rw-r--r--test cases/d/11 dub/meson.build2
-rw-r--r--test cases/d/14 dub with deps/meson.build2
2 files changed, 4 insertions, 0 deletions
diff --git a/test cases/d/11 dub/meson.build b/test cases/d/11 dub/meson.build
index d852ca0..3bb3d56 100644
--- a/test cases/d/11 dub/meson.build
+++ b/test cases/d/11 dub/meson.build
@@ -1,5 +1,7 @@
project('dub-example', 'd')
+error('MESON_SKIP_TEST: Dub support is broken at the moment (#11773)')
+
dub_exe = find_program('dub', required : false)
if not dub_exe.found()
error('MESON_SKIP_TEST: Dub not found')
diff --git a/test cases/d/14 dub with deps/meson.build b/test cases/d/14 dub with deps/meson.build
index 08f3080..c8e472b 100644
--- a/test cases/d/14 dub with deps/meson.build
+++ b/test cases/d/14 dub with deps/meson.build
@@ -1,5 +1,7 @@
project('dub-with-deps-example', ['d'])
+error('MESON_SKIP_TEST: Dub support is broken at the moment (#11773)')
+
dub_exe = find_program('dub', required : false)
if not dub_exe.found()
error('MESON_SKIP_TEST: Dub not found')