mirror of
https://github.com/brl/mutter.git
synced 2025-01-07 18:22:14 +00:00
d7ce6a47f8
This adds a test framework that makes it possible to compare the result of painting a view against a reference image. Test reference as PNG images are stored in src/tests/ref-tests/. Reference images needs to be created for testing to be able to succeed. Adding a test reference image is done using the `MUTTER_REF_TEST_UPDATE` environment variable. See meta-ref-test.c for details. The image comparison code is largely based on the reference image test framework in weston; see meta-ref-test.c for details. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1698>
5.3 KiB
100x100px
5.3 KiB
100x100px