Add test client lib
Building on !142 (merged) lets add some helpers to connect real clients to the compositor and to take screenshots or compare to stored screenshots.
We only a single output atm but that allows to test lots of things already. Note that this needs to run under xvfg or similar since without that the mouse pointer might end up at different locations.
Closes: #40 (closed)
Merge request reports
Activity
added 16 commits
- e684ec51 - gitlab-ci: Enable coverage information
- e61342b2 - README: add coverage information
- 3716276c - server: Fix method name
- 0bec0999 - Don't destroy xwayland in phoc_server
- 597aaf28 - server: Track multiple setup
- 149e460e - server: Fix error output
- fa14a5ec - tests: Add simple test that runs a main loop
- b83ffe76 - server: Remove wayland source on shutdown
- db7095ee - server: Unset envvars on shutdown
- a0eac581 - tests: Properly finalize the server
- e569e1d2 - tests: Pass a phoc.ini
- f5a9683c - server: Use self conistently
- 91110f86 - tests: Add simple test client
- 8980daab - protocols: Generate client protocols
- f63b9380 - layer-shell: Don't crash on non existent input
- b29ac549 - tests: Test layer shell a bit
Toggle commit listunwipped since this complete enough for the moment, next steps would be to take output screen shots to check layouts, etc (#40 (closed))
Order this should go in is !144 (merged), !142 (merged), !143 (merged)
mentioned in issue #40 (closed)
added 22 commits
-
b29ac549...469f1485 - 4 commits from branch
Librem5:master
- a273970e - server: Fix method name
- 3fa52f78 - Don't destroy xwayland in phoc_server
- 3aebf31f - server: Track multiple setup
- 4fc97ec6 - server: Fix error output
- b5b2b0d8 - tests: Add simple test that runs a main loop
- 09424743 - server: Remove wayland source on shutdown
- 402f6a38 - server: Unset envvars on shutdown
- 2ea32351 - tests: Properly finalize the server
- 3218a8c5 - tests: Pass a phoc.ini
- a2733692 - server: Use self conistently
- 41d75a97 - server: Move wl_display_destroy_clients() to dispose
- aeb25109 - server: Call wlr_backend_destroy() in dispose
- cbfdbdf5 - input: Guard against NULL input
- beee658d - protocols: Generate client protocols
- c4867b1d - protocols: Add wlr-screencopy-manager
- 6df921e9 - tests: Add testlib
- ea3e934b - tests: Add simple client test
- fe10c940 - tests: Add layer shell test
Toggle commit list-
b29ac549...469f1485 - 4 commits from branch
added 8 commits
- 33a09456 - d/copyright: fix upstream files list and improve readability
- 07d9f656 - d/copyright: Use correct licenses
- eec88779 - README: document how to run the tests
- 6bdd6f2a - protocols: Generate client protocols
- c1f0e251 - protocols: Add wlr-screencopy-manager
- 10a4d445 - tests: Add testlib
- 6e99d1b7 - tests: Add simple client test
- b863b244 - tests: Add layer shell test
Toggle commit listshould be good to go now, this includes !142 (merged) and !146 (merged)
added 21 commits
-
d8a2e2df...93b608c7 - 15 commits from branch
Librem5:master
- 89f691a5 - README: document how to run the tests
- 39b08ebb - protocols: Generate client protocols
- fcd163e3 - protocols: Add wlr-screencopy-manager
- f786bf8a - tests: Add testlib
- caea9eba - tests: Add simple client test
- fea20bd3 - tests: Add layer shell test
Toggle commit list-
d8a2e2df...93b608c7 - 15 commits from branch
note that this introduces a build warning since we include server and client headers which is fixed by https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/77
- Resolved by Guido Gunther