weston/tests/harness
Pekka Paalanen 7cf39e41ff tests: move color-manager handling to client library
There are two partial implementations of the color-manager
protocol boilerplate, in color-management-test.c and
color-management-parametric-test.c. This patch moves the implementation
from the latter into the client library, and uses the helper bit().

This paves way for moving the other partial implementation as well,
de-duplicating the overlapping code, and allowing new test programs to
poke at color-manager.

The color-manager is initialized on-demand, because mosts tests in the
suite do not need it. This avoids a little of unnecessary work.

In anticipation of wp_color_management_v1 version 2, the interface
version is explicit and ensured.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2026-03-03 07:41:27 +00:00
..
color-manager-client.c tests: move color-manager handling to client library 2026-03-03 07:41:27 +00:00
color-manager-client.h tests: move color-manager handling to client library 2026-03-03 07:41:27 +00:00
color_util.c tests: move the harness into subdir 2026-02-23 13:53:18 +02:00
color_util.h tests: move the harness into subdir 2026-02-23 13:53:18 +02:00
image-iter.h tests: move the harness into subdir 2026-02-23 13:53:18 +02:00
lcms_util.c tests: move the harness into subdir 2026-02-23 13:53:18 +02:00
lcms_util.h tests: move the harness into subdir 2026-02-23 13:53:18 +02:00
meson.build tests: move color-manager handling to client library 2026-03-03 07:41:27 +00:00
weston-test-assert.h tests: weston-test-assert needs is_pow2_64() 2026-02-23 13:55:53 +02:00
weston-test-client-helper.c tests: move color-manager handling to client library 2026-03-03 07:41:27 +00:00
weston-test-client-helper.h tests: move color-manager handling to client library 2026-03-03 07:41:27 +00:00
weston-test-desktop-shell.c tests: move the harness into subdir 2026-02-23 13:53:18 +02:00
weston-test-fixture-compositor.c tests: move the harness into subdir 2026-02-23 13:53:18 +02:00
weston-test-fixture-compositor.h tests: move the harness into subdir 2026-02-23 13:53:18 +02:00
weston-test-runner.c tests: move the harness into subdir 2026-02-23 13:53:18 +02:00
weston-test-runner.h tests: move the harness into subdir 2026-02-23 13:53:18 +02:00
weston-test.c tests: move the harness into subdir 2026-02-23 13:53:18 +02:00
weston-testsuite-data.h tests: move the harness into subdir 2026-02-23 13:53:18 +02:00
xcb-client-helper.c tests: drop unused includes from xcb-client-helper 2026-02-23 13:55:53 +02:00
xcb-client-helper.h tests: drop unused includes from xcb-client-helper 2026-02-23 13:55:53 +02:00
xdg-client-helper.c tests: move the harness into subdir 2026-02-23 13:53:18 +02:00
xdg-client-helper.h tests: move the harness into subdir 2026-02-23 13:53:18 +02:00