Commit a0d0069f authored by George Kiagiadakis's avatar George Kiagiadakis
Browse files

tests: enable G_SLICE=debug-blocks in all tests

This can catch allocation mistakes in the g_slice allocator
parent 82c054f1
common_deps = [gobject_dep, gio_dep, wp_dep, pipewire_dep]
common_env = environment({
'G_SLICE': 'debug-blocks',
'G_TEST_SRCDIR': meson.current_source_dir(),
'G_TEST_BUILDDIR': meson.current_build_dir(),
'WIREPLUMBER_MODULE_DIR': meson.current_build_dir() / '..' / '..' / 'modules',
......
common_deps = [gobject_dep, gio_dep, wp_dep, pipewire_dep]
common_env = environment({
'G_SLICE': 'debug-blocks',
'G_TEST_SRCDIR': meson.current_source_dir(),
'G_TEST_BUILDDIR': meson.current_build_dir(),
'XDG_CONFIG_HOME': meson.current_build_dir() / '.config',
......
common_deps = [wpipc_dep, glib_dep]
common_env = environment({
'G_SLICE': 'debug-blocks',
'G_TEST_SRCDIR': meson.current_source_dir(),
'G_TEST_BUILDDIR': meson.current_build_dir(),
})
......
common_deps = [wplua_dep, pipewire_dep, wp_dep]
common_env = environment({
'G_SLICE': 'debug-blocks',
'G_TEST_SRCDIR': meson.current_source_dir(),
'G_TEST_BUILDDIR': meson.current_build_dir(),
'WIREPLUMBER_CONFIG_DIR': '/invalid',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment