tests: Move common test environment variables to top level

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie
2022-09-13 11:35:34 +01:00
parent 86d4da1634
commit 88e160dfe4
6 changed files with 9 additions and 15 deletions

View File

@@ -144,7 +144,7 @@ python_tests = [
'codegen.py',
]
test_env = environment()
test_env = environment(common_test_env)
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', '')