summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2021-06-09 12:21:56 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2021-07-28 13:19:02 +0300
commit4519a0620d1453bb3451c7d7f42fd1fdc986f320 (patch)
treedf3bcf549ca0a8626dfb28e64374d4b8ebd41305
parent11bdfce31e7e1889214f9191a9d910e973827823 (diff)
tests: enable G_SLICE=debug-blocks in all tests
This can catch allocation mistakes in the g_slice allocator Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
-rw-r--r--tests/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build
index c8a8249..eb5dcb5 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,5 +1,6 @@
common_deps = [icipc_dep, glib_dep]
common_env = environment({
+ 'G_SLICE': 'debug-blocks',
'G_TEST_SRCDIR': meson.current_source_dir(),
'G_TEST_BUILDDIR': meson.current_build_dir(),
})