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

@@ -3,7 +3,7 @@ gobject_tests = {
'performance-threaded' : { 'args' : [ '--seconds', '0' ] },
}
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())