From 86625b40f0653e6fa39c6bb8e0f70c947a298b4f Mon Sep 17 00:00:00 2001 From: Martin Dosch Date: Sat, 25 Apr 2026 11:49:29 +0200 Subject: [PATCH] build: Fix running functional tests by meson In some environments `./build_run/functionaltests` was working but `meson test -C build_run` failed for functional tests. This commit should fix this by setting the working directory to the meson project source. Signed-off-by: Martin Dosch --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 71b760b9e..cb61fc5f8 100644 --- a/meson.build +++ b/meson.build @@ -750,7 +750,7 @@ if get_option('tests') build_by_default: false, ) - test('functional tests', functionaltests, timeout: 1800) + test('functional tests', functionaltests, workdir: meson.project_source_root(), timeout: 1800) endif else warning('cmocka not found, tests will not be built')