mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
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:
parent
d46b04631e
commit
d31bb8b503
@ -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 + [
|
||||
|
Loading…
Reference in New Issue
Block a user