testsuite: Don't pass GDK_DEBUG for release builds

The debug env vars are ignored in release builds,
and may spew warnings about that fact that break
tests.
This commit is contained in:
Matthias Clasen 2020-06-28 11:13:59 -04:00
parent d46b04631e
commit d31bb8b503

View File

@ -9,12 +9,15 @@ diff = find_program('diff', required: true)
common_env = [
'GIO_USE_VOLUME_MONITOR=unix',
'GSETTINGS_BACKEND=memory',
'GDK_DEBUG=default-settings',
'GTK_CSD=1',
'G_ENABLE_DIAGNOSTIC=0',
'GSETTINGS_SCHEMA_DIR=@0@'.format(gtk_schema_build_dir),
]
if get_option('debug')
common_env += [ 'GDK_DEBUG=default-settings' ]
endif
add_test_setup ('x11',
is_default: true,
env: common_env + [