diff options
| author | Simon McVittie <smcv@collabora.com> | 2022-05-06 10:58:25 +0100 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-05-10 07:56:59 -0400 |
| commit | 65ea833d58f5e4720b89e6f97b38cd7d61b48418 (patch) | |
| tree | 78e555fa67e5d3585a5f6e6052634fcd32a7ceae /test cases/unit | |
| parent | 7650f328284f24c2f70dcfb1689ae8fc22c04cf1 (diff) | |
| download | meson-65ea833d58f5e4720b89e6f97b38cd7d61b48418.tar.gz | |
Require CMake 3.14 for all tests that use the cmake module
Older versions are not supported by the cmake module since 0.62.
This avoids having to hard-code the linux-bionic-gcc CI job as being
unable to run these tests, which leaves other older environments like
Debian 10 still trying to run them (and failing).
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'test cases/unit')
| -rw-r--r-- | test cases/unit/84 nested subproject regenerate depends/meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test cases/unit/84 nested subproject regenerate depends/meson.build b/test cases/unit/84 nested subproject regenerate depends/meson.build index 569888164..a8d213887 100644 --- a/test cases/unit/84 nested subproject regenerate depends/meson.build +++ b/test cases/unit/84 nested subproject regenerate depends/meson.build @@ -1,5 +1,9 @@ project('nested subproject regenerate depends', 'c') +if not find_program('cmake', required: false, version: '>=3.14').found() + error('MESON_SKIP_TEST cmake >= 3.14 not available.') +endif + s = subproject('sub1') # This is needed to make msbuild noop check work correctly |
