From d80dcd80dfd2cb5c1778c171aaac77eb3379eafc Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sat, 19 Feb 2022 14:47:32 +0000 Subject: [PATCH] meson: Make G_TEST_SRCDIR, G_TEST_BUILDDIR match Autotools Signed-off-by: Simon McVittie --- tests/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/meson.build b/tests/meson.build index aabd1e0..8221a39 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -23,8 +23,8 @@ test_scripts = [ test_env = environment() test_env.set('BWRAP', bwrap.full_path()) -test_env.set('G_TEST_BUILDDIR', meson.current_build_dir()) -test_env.set('G_TEST_SRCDIR', meson.current_source_dir()) +test_env.set('G_TEST_BUILDDIR', meson.current_build_dir() / '..') +test_env.set('G_TEST_SRCDIR', meson.current_source_dir() / '..') foreach pair : test_programs name = pair[0]