summaryrefslogtreecommitdiff
path: root/test cases/python
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/python')
-rw-r--r--test cases/python/8 different python versions/meson.build16
1 files changed, 6 insertions, 10 deletions
diff --git a/test cases/python/8 different python versions/meson.build b/test cases/python/8 different python versions/meson.build
index 5b443944b..90556bc67 100644
--- a/test cases/python/8 different python versions/meson.build
+++ b/test cases/python/8 different python versions/meson.build
@@ -6,18 +6,14 @@ py_mod = import('python')
py = py_mod.find_installation(get_option('python'), required : false)
if py.found()
- py_dep = py.dependency(required : false)
+ py_dep = py.dependency()
- if py_dep.found()
- subdir('ext')
+ subdir('ext')
- test('extmod',
- py,
- args : files('blaster.py'),
- env : ['PYTHONPATH=' + pypathdir])
- else
- error('MESON_SKIP_TEST: Python libraries not found, skipping test.')
- endif
+ test('extmod',
+ py,
+ args : files('blaster.py'),
+ env : ['PYTHONPATH=' + pypathdir])
else
error('MESON_SKIP_TEST: Python not found, skipping test.')
endif