meson: gio/tests: add more missing tests

This commit is contained in:
Tim-Philipp Müller
2017-01-28 12:52:18 +00:00
committed by Matthias Clasen
parent f438c04fac
commit 34e4e25d53
5 changed files with 164 additions and 68 deletions

View File

@@ -17,9 +17,17 @@ gobject_tests = [
'ifaceproperties',
]
# FIXME: use new environment() object
# FIXME: put common bits of test environment() in one location
# Not entirely random of course, but at least it changes over time
random_number = minor_version.to_int() + meson.version().split('.').get(1).to_int()
test_env = [
'G_TEST_SRCDIR=' + meson.current_source_dir(),
'G_TEST_BUILDDIR=' + meson.current_build_dir(),
'G_DEBUG=gc-friendly',
'MALLOC_CHECK_=2',
'MALLOC_PERTURB_=@0@'.format(random_number % 256),
]
foreach test_name : gobject_tests