mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
tests: Move common test environment variables to top level
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
@@ -41,11 +41,9 @@ foreach module : ['moduletestplugin_a', 'moduletestplugin_b']
|
||||
)
|
||||
endforeach
|
||||
|
||||
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('G_DEBUG', 'gc-friendly')
|
||||
test_env.set('MALLOC_CHECK_', '2')
|
||||
|
||||
test_deps = [libm, thread_dep, libglib_dep, libgmodule_dep]
|
||||
test_cargs = ['-DG_LOG_DOMAIN="GModule"', '-UG_DISABLE_ASSERT']
|
||||
|
Reference in New Issue
Block a user