mutter:wip/3v1n0/run-tests-in-ci

Last commit made on 2018-11-14
Get this branch:
git clone -b wip/3v1n0/run-tests-in-ci https://git.launchpad.net/mutter

Branch merges

Branch information

Name:
wip/3v1n0/run-tests-in-ci
Repository:
lp:mutter

Recent commits

9056fb0... by Marco Trevisan (Treviño)

gitlab-ci: run tests too

0503eca... by Marco Trevisan (Treviño)

tests: add headless_tests support

Run tests using Xvfb so that we can run them in CI

dec20d1... by Marco Trevisan (Treviño)

meson, tests: Use suites for test cases

They allows to filter tests better and so we can just launch tests with:
  meson test --suite [mutter/stacking|cogl|clutter] [single-test-name]

0242c1a... by Marco Trevisan (Treviño)

meson, tests: Add single stacking tests with suite

Don't launch the stacking tests in one single shot, to allow better debugging
and being able to launch just one single test using meson test.

Those tests can now be all launched with:
  meson test --suite stacking [single-test-name]

8652ec9... by Marco Trevisan (Treviño)

window-x11: Focus the default window waiting for take focus

It's not guaranteed that a focus window will require the focus (this doesn't
happen for no-input gtk windows in fact [to be fixed there too]).
And in such case instead of unsetting the focus, while waiting the take focus
request to arrive, we should focus the current workspace default focus window
instead.

4c60716... by Marco Trevisan (Treviño)

window: Add is_focusable class method

Implement is_focusable for both x11 and wayland and just use this check
so that we can abstract things more and be less dependent on window backend.

08f9206... by Marco Trevisan (Treviño)

tests: Verify focused window in closed-transient tests

Ensure that we have a focused window when closing transient windows with
no-focus or no-take-focus atoms

ef3ea0a... by Marco Trevisan (Treviño)

test-runner: Add assert_focused command

This allows to verify which window should have the focus, which might not
be the same as the top of the stack.

a5f360c... by Marco Trevisan (Treviño)

workspace: Focus only ancestors who can be actually focused

When destroying a window that has a parent, we initially try to focus one of
its ancestors. However if no ancestor can be focused, then we should instead
focus the fault window instead of trying to request focus for a window
that can't get focus anyways.

Fixes #308

26cb0a5... by Marco Trevisan (Treviño)

tests, stacking: Add tests with no-input and no-take-focus windows

When a window with no frame, that doesn't accept focus and that has no take-focus
atom set is destroyed, we end up in not changing the current_focus window, causing
a crash.

Added test cases that verify this situation (expected to fail).

See #308