[gtk/wip/otte/macos-werror: 2/5] testsuite: set GDK_DEBUG=default-settings unconditionally




commit 0d4d8f6f5e7cee66b64c351be55f13c249dcb635
Author: Benjamin Otte <otte redhat com>
Date:   Thu Nov 4 01:41:25 2021 +0100

    testsuite: set GDK_DEBUG=default-settings unconditionally

 testsuite/meson.build | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/testsuite/meson.build b/testsuite/meson.build
index 753f62325f..72d72df448 100644
--- a/testsuite/meson.build
+++ b/testsuite/meson.build
@@ -8,12 +8,9 @@ common_env = [
   'GTK_CSD=1',
   'G_ENABLE_DIAGNOSTIC=0',
   'GSETTINGS_SCHEMA_DIR=@0@'.format(gtk_schema_build_dir),
+  'GDK_DEBUG=default-settings',
 ]
 
-if get_option('debug')
-  common_env += [ 'GDK_DEBUG=default-settings' ]
-endif
-
 if x11_enabled
   add_test_setup ('x11',
                   env: common_env + [
@@ -30,16 +27,11 @@ if wayland_enabled
                         'TEST_OUTPUT_SUBDIR=wayland',
                         ])
 
-  if get_option('debug')
-    gdk_debug = 'GDK_DEBUG=gl-gles,default-settings'
-  else
-    gdk_debug = 'GDK_DEBUG=gl-gles'
-  endif
   add_test_setup ('waylandgles',
                   env: common_env + [
                         'GDK_BACKEND=wayland',
                         'TEST_OUTPUT_SUBDIR=waylandgles',
-                        gdk_debug,
+                        'GDK_DEBUG=gl-gles,default-settings',
                         ])
 
 endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]