summaryrefslogtreecommitdiff
path: root/test cases/cmake/11 cmake_module_path
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-07-15 17:19:42 -0400
committerEli Schwartz <eschwartz93@gmail.com>2024-07-15 23:43:10 -0400
commit2a8bb3b9f10f180c50930db92eaf23e8c4c9b81a (patch)
tree250e3df2741601cf169f85728a11841d1d296e54 /test cases/cmake/11 cmake_module_path
parent2fd7d64a50aa4f8a76d5b9ca13f7d8f8f40b959c (diff)
downloadmeson-2a8bb3b9f10f180c50930db92eaf23e8c4c9b81a.tar.gz
tests: short-circuit tests that require cmake, faster
We have two ways of marking a test as skipped: - raise MESON_SKIP_TEST - declare that the tools it needs in test.json are unavailable Doing the former requires performing the configure stage including e.g. language setup. In several cases we weren't even getting this far anyway since we used both mechanisms (the cmake category has a category-wide skip for this, in fact). In some case, we were missing test.json declaring it skippable; add this.
Diffstat (limited to 'test cases/cmake/11 cmake_module_path')
-rw-r--r--test cases/cmake/11 cmake_module_path/meson.build4
1 files changed, 0 insertions, 4 deletions
diff --git a/test cases/cmake/11 cmake_module_path/meson.build b/test cases/cmake/11 cmake_module_path/meson.build
index e20193696..2e835fba1 100644
--- a/test cases/cmake/11 cmake_module_path/meson.build
+++ b/test cases/cmake/11 cmake_module_path/meson.build
@@ -3,10 +3,6 @@
project('user CMake find_package module using cmake_module_path', ['c', 'cpp'],
meson_version: '>= 0.55.0')
-if not find_program('cmake', required: false).found()
- error('MESON_SKIP_TEST cmake binary not available.')
-endif
-
# NOTE: can't request Python3 via dependency('Python3', method: 'cmake')
# Meson intercepts and wants "method: auto"