[PATCH 1/3] build: Fix libnm_linking test

The `libnm_linking` test that belongs to the libnm-util's general
tests is failing because the test is not able to find the
`test-libnm-linking` binary, which is executed as a child process.

The problem lies to the `BUILD_DIR` macro definition which is
used to set the place to find the binary, and is wrongly defined
with the source directory.

This patch changes its value to the build directory that fixes
the problem.
 libnm-util/tests/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libnm-util/tests/meson.build b/libnm-util/tests/meson.build
index 387b0db92..8a05bc88c 100644
--- a/libnm-util/tests/meson.build
+++ b/libnm-util/tests/meson.build
@@ -11,7 +11,7 @@ deps = [
 cflags = [
-  '-DBUILD_DIR="@0@"'.format(meson.current_source_dir()),
+  '-DBUILD_DIR="@0@"'.format(meson.current_build_dir()),

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]