[mutter] tests: Add get-state test using gdbus



commit 083b8726778d1e435958063366a4bb72edff6180
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Mon Jun 27 10:40:57 2022 +0200

    tests: Add get-state test using gdbus
    
    This ensures we know how to handle data from bug reports gathered using
    gdbus.
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2448>

 src/tests/meson.build | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/src/tests/meson.build b/src/tests/meson.build
index 9b99905775..5a9d17bbbc 100644
--- a/src/tests/meson.build
+++ b/src/tests/meson.build
@@ -430,7 +430,7 @@ if have_x11
   )
 endif
 
-test('get-state-tool', mutter,
+test('get-state-tool-gio', mutter,
   args: [
     '--headless',
     '--mutter-plugin=@0@'.format(default_plugin.full_path()),
@@ -442,3 +442,18 @@ test('get-state-tool', mutter,
   is_parallel: false,
   timeout: 60,
 )
+
+test('get-state-tool-gdbus', mutter,
+  args: [
+    '--headless',
+    '--mutter-plugin=@0@'.format(default_plugin.full_path()),
+    '--virtual-monitor', '800x600',
+    '--',
+    get_state_tool.full_path(),
+    '--gdbus',
+  ],
+  suite: ['tools'],
+  env: test_env,
+  is_parallel: false,
+  timeout: 60,
+)


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