tests: Split out Wayland tests into its own test case

Makes it easier to run it, as one doesn't need to wait for all the other
unit tests.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2081>
This commit is contained in:
Jonas Ådahl
2021-11-08 10:52:48 +01:00
parent eed6599867
commit d420a39a02
4 changed files with 42 additions and 39 deletions

View File

@ -37,7 +37,6 @@
#include "tests/monitor-transform-tests.h"
#include "tests/meta-test-utils.h"
#include "tests/orientation-manager-unit-tests.h"
#include "tests/wayland-unit-tests.h"
MetaContext *test_context;
@ -232,7 +231,6 @@ init_tests (void)
init_monitor_config_migration_tests ();
init_monitor_tests ();
init_boxes_tests ();
init_wayland_tests ();
init_monitor_transform_tests ();
init_orientation_manager_tests ();
}
@ -252,8 +250,6 @@ main (int argc, char *argv[])
g_signal_connect (context, "before-tests",
G_CALLBACK (pre_run_monitor_tests), NULL);
g_signal_connect (context, "before-tests",
G_CALLBACK (pre_run_wayland_tests), NULL);
g_signal_connect (context, "after-tests",
G_CALLBACK (finish_monitor_tests), NULL);