weston/tests
Loïc Molinari 57c3cee7ed tests: Add test asserts based on new Weston assert system
This commit introduces various Weston based asserts for the testing
framework. The goal is to ease test writing and improve readability.

Using custom asserts instead of relying on libc's assert() will also
help providing NDEBUG builds. This is currently not possible because
setting NDEBUG would disable all the asserts in the tests.

Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
2025-02-26 22:50:51 +01:00
..
reference tests: Add tests for RGB wl_shm format variants 2025-02-17 15:54:52 +00:00
visualization tests/alpha-blending: replace compare_float() with rgb_diff_stat 2022-06-30 09:08:32 +00:00
alpha-blending-test.c tests: Only wait for frame callback when necessary 2024-02-22 14:26:32 +00:00
assert-test.c shared: add weston_assert_false() 2024-05-06 10:39:42 +00:00
bad-buffer-test.c tests: Speed up runtime using immediate repaint on capture 2024-02-22 14:26:32 +00:00
buffer-transforms-test.c tests: Only wait for frame callback when necessary 2024-02-22 14:26:32 +00:00
color-icc-output-test.c tests: replace mat2XYZ 2024-04-19 12:19:36 +00:00
color-lcms-optimizer-test.c tests: add color pipeline optimizer tests 2023-06-29 11:08:40 +00:00
color-management-parametric-test.c color: update color-management protocol to wp-v1 2025-02-26 10:09:43 -03:00
color-management-test.c color: update color-management protocol to wp-v1 2025-02-26 10:09:43 -03:00
color-metadata-errors-test.c tests: add EOTF and colorimetry mode parsing 2024-05-06 10:39:42 +00:00
color-metadata-parsing-test.c tests: parse colorimetry-mode=bt2020rgb 2024-05-06 10:39:42 +00:00
color_util.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
color_util.h tests/color-icc-output: add ICC VCGT tests 2023-04-27 10:37:38 +00:00
config-parser-test.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
constraints-test.c tests: fix test build error on older Linux 2024-12-03 21:50:33 +00:00
custom-env-test.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
devices-test.c tests: Speed up runtime using immediate repaint on capture 2024-02-22 14:26:32 +00:00
drm-formats-test.c drm-formats: add weston_drm_format_array_count_pairs() 2021-11-25 10:47:45 -03:00
drm-smoke-test.c tests/drm-*: Log drm-backend by default 2024-08-02 20:03:41 +03:00
drm-writeback-screenshot-test.c tests/drm-*: Log drm-backend by default 2024-08-02 20:03:41 +03:00
event-test.c tests: Speed up runtime using immediate repaint on capture 2024-02-22 14:26:32 +00:00
image-iter.h tests/color-icc-output: extract image-iter.h 2022-06-16 08:52:12 +00:00
input-timestamps-helper.c tests: replace fprintf() with testlog() 2019-11-22 12:54:10 +02:00
input-timestamps-helper.h tests: Introduce input timestamps helper 2018-02-20 10:20:29 +02:00
internal-screenshot-test.c tests: Speed up runtime using immediate repaint on capture 2024-02-22 14:26:32 +00:00
iterate-debug-scopes-test.c libweston/weston-log: Add a iterator helper for debug scope 2023-05-30 11:05:14 +00:00
ivi-layout-internal-test.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
ivi-layout-test-client.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
ivi-layout-test-plugin.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
ivi-shell-app-test.c clients/ivi-shell-user-interface.c: Add 'command' config 2024-12-04 12:36:20 +00:00
ivi-test.h ivi-shell: implement surface_on_many_layer test 2016-06-29 11:32:23 +03:00
keyboard-test.c tests: Speed up runtime using immediate repaint on capture 2024-02-22 14:26:32 +00:00
kiosk-shell-test.c tests: Just keep PIXMAN as renderer 2024-05-02 16:05:18 +03:00
lcms-util-test.c tests: add lcms-util with MPE curves 2022-06-03 10:22:25 +00:00
lcms_util.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
lcms_util.h tests: replace mat2XYZ 2024-04-19 12:19:36 +00:00
linux-explicit-synchronization-test.c tests: Speed up runtime using immediate repaint on capture 2024-02-22 14:26:32 +00:00
matrix-test.c tests: add matrix-test for CI 2022-05-31 12:26:09 +00:00
matrix-transform-test.c libweston: Use weston_coord in struct weston_output 2023-06-12 16:55:22 -05:00
meson.build tests: Rename yuv-buffer test to shm-buffer 2025-02-17 15:54:52 +00:00
output-capture-protocol-test.c tests: use enum weston_renderer_type 2023-01-18 14:16:41 +01:00
output-damage-test.c tests: Only wait for frame callback when necessary 2024-02-22 14:26:32 +00:00
output-decorations-test.c tests: use enum weston_renderer_type 2023-01-18 14:16:41 +01:00
output-transforms-test.c tests: Only wait for frame callback when necessary 2024-02-22 14:26:32 +00:00
paint-node-test.c tests: Just keep PIXMAN as renderer 2024-05-02 16:05:18 +03:00
plugin-registry-test.c tests: remove unnecessary weston.h includes 2023-12-18 15:34:26 +00:00
pointer-shot-test.c tests: Only wait for frame callback when necessary 2024-02-22 14:26:32 +00:00
pointer-test.c tests: Only wait for frame callback when necessary 2024-02-22 14:26:32 +00:00
presentation-test.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
roles-test.c tests: Speed up runtime using immediate repaint on capture 2024-02-22 14:26:32 +00:00
safe-signal-output-removal-test.c replace weston_signal_emit_mutable with wl_signal_emit_mutable 2023-12-04 11:37:17 +02:00
safe-signal-test.c replace weston_signal_emit_mutable with wl_signal_emit_mutable 2023-12-04 11:37:17 +02:00
setbacklight.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
shm-buffer-test.c tests: Add tests for RGB wl_shm format variants 2025-02-17 15:54:52 +00:00
single-pixel-buffer-test.c tests: Speed up runtime using immediate repaint on capture 2024-02-22 14:26:32 +00:00
string-test.c tests: add missing include 2017-01-23 14:12:06 +02:00
subsurface-shot-test.c subsurface: don't forget to repaint after the first sub-surface commit 2024-08-07 15:10:49 +00:00
subsurface-test.c helpers: Add FALLTHROUGH macro 2024-07-04 14:15:04 +00:00
surface-global-test.c tests: remove unnecessary weston.h includes 2023-12-18 15:34:26 +00:00
surface-screenshot-test.c Rename compositor/ to frontend/ 2023-12-18 15:34:26 +00:00
surface-test.c tests: remove unnecessary weston.h includes 2023-12-18 15:34:26 +00:00
text-test.c tests: Speed up runtime using immediate repaint on capture 2024-02-22 14:26:32 +00:00
timespec-test.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
touch-test.c tests: Speed up runtime using immediate repaint on capture 2024-02-22 14:26:32 +00:00
vertex-clip-test.c gl-renderer: Do not expose clipper_clip() in header 2024-05-30 09:09:45 +00:00
viewporter-shot-test.c tests: Only wait for frame callback when necessary 2024-02-22 14:26:32 +00:00
viewporter-test.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
weston-test-assert.h tests: Add test asserts based on new Weston assert system 2025-02-26 22:50:51 +01:00
weston-test-client-helper.c tests: Ensure wl_shm format support before testing 2025-02-17 15:54:52 +00:00
weston-test-client-helper.h tests: Ensure wl_shm format support before testing 2025-02-17 15:54:52 +00:00
weston-test-desktop-shell.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
weston-test-fixture-compositor.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
weston-test-fixture-compositor.h tests: Add kiosk-shell testing 2024-05-01 14:18:43 +03:00
weston-test-runner.c tests: add helpers to create unique filenames 2024-02-12 14:10:44 +00:00
weston-test-runner.h Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
weston-test.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
weston-testsuite-data.h tests: Add client<->compositor breakpoint support 2023-06-30 11:42:00 +00:00
xcb-client-helper.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
xcb-client-helper.h xcb-client-helper: Add a XCB client helper for tests 2023-03-03 08:30:46 +00:00
xwayland-test.c tests/xwayland: Ensure $DISPLAY is correctly set 2023-06-19 21:32:47 +01:00