[mutter/wip/carlosg/test] foo




commit 9aef0796ee43006e0325d6b3b2e7dd9610fae93e
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Jun 5 12:36:30 2021 +0200

    foo

 src/tests/native-screen-cast.c | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/tests/native-screen-cast.c b/src/tests/native-screen-cast.c
index bcde15665d..b162029f17 100644
--- a/src/tests/native-screen-cast.c
+++ b/src/tests/native-screen-cast.c
@@ -74,6 +74,13 @@ meta_test_screen_cast_record_virtual (void)
                                  test_client_exited,
                                  loop);
   g_main_loop_run (loop);
+  g_printerr ("exited: %d, signaled: %d",
+              g_subprocess_get_if_exited (subprocess),
+              g_subprocess_get_if_signaled (subprocess));
+  if (g_subprocess_get_if_exited (subprocess))
+    g_printerr ("Status: %d", g_subprocess_get_status (subprocess));
+  if (g_subprocess_get_if_signaled (subprocess))
+    g_printerr ("Signal: %d", g_subprocess_get_term_sig (subprocess));
   g_assert_true (g_subprocess_get_successful (subprocess));
   g_object_unref (subprocess);
 }


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