1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Date: Mon, 11 Aug 2025 11:02:23 +0200
Subject: tests: meson.build: fix tests in Debian builds
Executing unit tests during Debian builds fails due to the
`markdown_it_modified_tasklists_plugin` module not being found. This is
caused by the `third-party` folder not being part of the Python search
paths and the package not being installed at this stage. Add this folder
to `PYTHONPATH` so tests can run as expected.
---
tests/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/meson.build b/tests/meson.build
index ea20af7..6682c5a 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,5 +1,5 @@
envdata = environment()
-python_paths = [join_paths(meson.current_build_dir(), '..')]
+python_paths = [join_paths(meson.project_source_root(), 'third-party')]
envdata.append('PYTHONPATH', python_paths)
test('iotas-test-suite',
|