tests/screen-cast: Enable 'screen-cast' debug topic

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2727>
This commit is contained in:
Jonas Ådahl 2022-12-01 23:08:32 +01:00 committed by Marge Bot
parent 7cc10c86e4
commit f8fe7dbdd7

View File

@ -26,6 +26,8 @@
#include <gio/gio.h>
#include <unistd.h>
#include "meta/util.h"
static void
test_client_exited (GObject *source_object,
GAsyncResult *result,
@ -52,6 +54,8 @@ meta_test_screen_cast_record_virtual (void)
launcher = g_subprocess_launcher_new (G_SUBPROCESS_FLAGS_NONE);
meta_add_verbose_topic (META_DEBUG_SCREEN_CAST);
test_client_path = g_test_build_filename (G_TEST_BUILT,
"src",
"tests",
@ -78,6 +82,8 @@ meta_test_screen_cast_record_virtual (void)
g_main_loop_run (loop);
g_assert_true (g_subprocess_get_successful (subprocess));
g_object_unref (subprocess);
meta_remove_verbose_topic (META_DEBUG_SCREEN_CAST);
}
void