summaryrefslogtreecommitdiff
path: root/test cases/python/2 extmodule/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/python/2 extmodule/meson.build')
-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()