mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
tests/stage-view: Disable animations
Animations may interfere with test cases, e.g. by triggering relayouts, repaints, when not expected. Disable them, so that more precise test cases can be added. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2025>
This commit is contained in:
parent
f1f2c96784
commit
666a30952c
@ -1288,6 +1288,8 @@ main (int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
g_autoptr (MetaContext) context = NULL;
|
g_autoptr (MetaContext) context = NULL;
|
||||||
|
|
||||||
|
g_setenv ("MUTTER_DEBUG_DISABLE_ANIMATIONS", "1", TRUE);
|
||||||
|
|
||||||
context = meta_create_test_context (META_CONTEXT_TEST_TYPE_NESTED,
|
context = meta_create_test_context (META_CONTEXT_TEST_TYPE_NESTED,
|
||||||
META_CONTEXT_TEST_FLAG_TEST_CLIENT);
|
META_CONTEXT_TEST_FLAG_TEST_CLIENT);
|
||||||
g_assert (meta_context_configure (context, &argc, &argv, NULL));
|
g_assert (meta_context_configure (context, &argc, &argv, NULL));
|
||||||
|
Loading…
Reference in New Issue
Block a user