libxkbcommon: never run Python-based tests

Unfortunately there is no way to disable running the Python/Jinja2-based
tests, so patch mesion.build in order to not fail in case of Python
dependency problems on the host.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle
2025-07-14 23:43:38 +01:00
parent 0f402858fd
commit 12b1d85ea1

View File

@@ -0,0 +1,11 @@
--- a/meson.build
+++ b/meson.build
@@ -783,7 +783,7 @@ test(
pymod = import('python')
python = pymod.find_installation('python3', modules: ['jinja2'], required: false)
has_merge_modes_tests = python.found() and python.language_version().version_compare('>=3.11')
-if has_merge_modes_tests
+if false
script = find_program('scripts/update-merge-modes-tests.py')
merge_modes_tests = [meson.project_name()]
# NOTE: The following tests deal with third-party XKB compilers and are