meson: Use test setup environment instead of repeating it everywhere

This commit is contained in:
Marco Trevisan (Treviño)
2022-10-20 02:24:04 +02:00
parent 3e227fb528
commit 3c56d661d8
6 changed files with 17 additions and 14 deletions

View File

@@ -156,7 +156,7 @@ python_tests = {
'codegen.py' : { 'can_fail' : host_system == 'freebsd' },
}
test_env = environment(common_test_env)
test_env = environment()
test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
test_env.set('GIO_MODULE_DIR', '')