[gtk/wip/otte/gles: 1/3] testsuite: Add run for GLES




commit 62363f1c3f39fdceba8d634ff0ecacabd531d27a
Author: Benjamin Otte <otte redhat com>
Date:   Fri Oct 8 18:38:51 2021 +0200

    testsuite: Add run for GLES
    
    This is supposed to test the most fallback GL stuff, so we might want to
    set even more env vars here.

 testsuite/meson.build | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/testsuite/meson.build b/testsuite/meson.build
index 0b75c90811..a2dc4ed471 100644
--- a/testsuite/meson.build
+++ b/testsuite/meson.build
@@ -30,6 +30,18 @@ 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=wayland-gles',
+                        gdk_debug,
+                        ])
+
 endif
 
 if os_win32


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