mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 06:33:41 +02:00
meson: Run build-time tests with --tap where supported
This makes it easier to debug test failures, by ensuring that g_debug() and g_test_message() are printed as TAP diagnostics. Fixes: https://gitlab.gnome.org/GNOME/glib/issues/1528 Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
@@ -89,7 +89,8 @@ foreach test_name, extra_args : gobject_tests
|
||||
|
||||
suite = ['gobject'] + extra_args.get('suite', [])
|
||||
timeout = suite.contains('slow') ? 120 : 30
|
||||
test(test_name, exe, env : test_env, timeout : timeout, suite : suite)
|
||||
test(test_name, exe, env : test_env, timeout : timeout, suite : suite,
|
||||
args: ['--tap'])
|
||||
endforeach
|
||||
|
||||
test(
|
||||
|
Reference in New Issue
Block a user