mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
tests/screen-cast: Enable 'screen-cast' debug topic
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2727>
This commit is contained in:
parent
7cc10c86e4
commit
f8fe7dbdd7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user