mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 13:06:14 +01:00
type-flags test: Force G_ENABLE_DIAGNOSTIC=1 to be set
Otherwise this test will succeed at build-time, but will fail when run as an as-installed test via ginsttest-runner. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
84284521b2
commit
b13e12b363
@ -141,6 +141,8 @@ main (int argc, char *argv[])
|
||||
{
|
||||
g_test_init (&argc, &argv, NULL);
|
||||
|
||||
g_setenv ("G_ENABLE_DIAGNOSTIC", "1", TRUE);
|
||||
|
||||
g_test_add_func ("/type/flags/final", test_type_flags_final);
|
||||
g_test_add_func ("/type/flags/deprecated", test_type_flags_deprecated);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user