Skip to content

Tests: Introduce a MutterTestCase#2760

Merged
leolost2605 merged 2 commits intomainfrom
leolost/mutter-test-case
Apr 20, 2026
Merged

Tests: Introduce a MutterTestCase#2760
leolost2605 merged 2 commits intomainfrom
leolost/mutter-test-case

Conversation

@leolost2605
Copy link
Copy Markdown
Member

@leolost2605 leolost2605 commented Feb 10, 2026

We need this for any tests that need a clutter.actor because to construct one it needs a context setup.

@leolost2605 leolost2605 force-pushed the leolost/mutter-test-case branch 10 times, most recently from 98821a6 to 05000ed Compare February 12, 2026 17:58
@leolost2605 leolost2605 force-pushed the leolost/mutter-test-case branch 2 times, most recently from 3ea7c36 to b0911a8 Compare March 24, 2026 18:08
@leolost2605

This comment was marked as outdated.

@leolost2605 leolost2605 marked this pull request as ready for review March 24, 2026 18:11
@leolost2605 leolost2605 requested a review from a team March 24, 2026 18:11
@leolost2605
Copy link
Copy Markdown
Member Author

leolost2605 commented Mar 24, 2026

Note: To run the tests locally you have to be a user (no sudo) and there can't be a mutter instance already running on the same dbus. So you can either run it from the tty or via dbus-run-session meson test

@leolost2605 leolost2605 force-pushed the leolost/mutter-test-case branch 2 times, most recently from 50313a0 to c4a4796 Compare April 11, 2026 12:27
@leolost2605 leolost2605 force-pushed the leolost/mutter-test-case branch 8 times, most recently from 14f383c to 02b272a Compare April 20, 2026 15:33
@leolost2605
Copy link
Copy Markdown
Member Author

I managed to get the CI working so this should be ready now 🎉

@leolost2605 leolost2605 force-pushed the leolost/mutter-test-case branch 2 times, most recently from 6a443fa to ad71457 Compare April 20, 2026 17:49
@leolost2605 leolost2605 force-pushed the leolost/mutter-test-case branch from ad71457 to b709b59 Compare April 20, 2026 17:58
Copy link
Copy Markdown
Contributor

@zeebok zeebok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work locally! One thing that might be good to do in a future PR if applicable is update the README to explain how to run the tests locally

@leolost2605 leolost2605 merged commit 0137733 into main Apr 20, 2026
6 checks passed
@leolost2605 leolost2605 deleted the leolost/mutter-test-case branch April 20, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants