summaryrefslogtreecommitdiff
path: root/test cases/python/2 extmodule
diff options
context:
space:
mode:
authorMichael Hirsch <scivision@users.noreply.github.com>2020-07-12 09:12:16 -0400
committerMichael Hirsch <scivision@users.noreply.github.com>2020-07-12 09:12:16 -0400
commit895de87b9069d1fca51c3550fe7d113a43f9e586 (patch)
treec26e08bd3379a89c7938822c1758df294c6d2bf3 /test cases/python/2 extmodule
parent4f1a240bc2c2029f281330c13273bfc876219c45 (diff)
downloadmeson-895de87b9069d1fca51c3550fe7d113a43f9e586.tar.gz
some python test cases don't care about backend, so run them in any case
Diffstat (limited to 'test cases/python/2 extmodule')
-rw-r--r--test cases/python/2 extmodule/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/test cases/python/2 extmodule/meson.build b/test cases/python/2 extmodule/meson.build
index b4eb96039..54c50b4be 100644
--- a/test cases/python/2 extmodule/meson.build
+++ b/test cases/python/2 extmodule/meson.build
@@ -3,6 +3,10 @@ project('Python extension module', 'c',
# Because Windows Python ships only with optimized libs,
# we must build this project the same way.
+if meson.backend() != 'ninja'
+ error('MESON_SKIP_TEST: Ninja backend required')
+endif
+
py_mod = import('python')
py = py_mod.find_installation()
py_dep = py.dependency()