diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-08-27 21:29:57 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-27 21:29:57 +0300 |
| commit | 899b0aae9f9afacccfd5963e84df6634e9835b5c (patch) | |
| tree | 41d7575d4d7c9a825715cd1243de4a129aea933a /test cases/python3/2 extmodule | |
| parent | ac07ae7d41e82663c955363e5124404fe9410262 (diff) | |
| parent | 7fff8318f537400249f191eda373c716e5ba2bee (diff) | |
| download | meson-899b0aae9f9afacccfd5963e84df6634e9835b5c.tar.gz | |
Merge pull request #4035 from jon-turney/factor-out-version-check
Apply dependency(version:) check for all dependency types
Diffstat (limited to 'test cases/python3/2 extmodule')
| -rw-r--r-- | test cases/python3/2 extmodule/meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test cases/python3/2 extmodule/meson.build b/test cases/python3/2 extmodule/meson.build index 0ecc81336..4916a6905 100644 --- a/test cases/python3/2 extmodule/meson.build +++ b/test cases/python3/2 extmodule/meson.build @@ -14,6 +14,10 @@ if py3_dep.found() py3, args : files('blaster.py'), env : ['PYTHONPATH=' + pypathdir]) + + # Check we can apply a version constraint + dependency('python3', version: '>=@0@'.format(py3_dep.version())) + else error('MESON_SKIP_TEST: Python3 libraries not found, skipping test.') endif |
