weston/tests
Daniel Stone 23c8dc7b27 tests: Check requirements after setting up args
Setting up the arguments may consume some of the arguments, e.g. if we
provide a config file or extra modules, then the test harness is
expected to be responsible for freeing those arguments.

Checking the requirements and bailing first means that we never do that,
and thus skipped tests result in leaks. Flip the order so we set up the
args first and skip last, so we can consistently take ownership of all
the provided setup parameters.

Signed-off-by: Daniel Stone <daniels@collabora.com>
2022-07-05 10:15:49 +01:00
..
reference tests/color-icc-output: add blending test 2022-07-01 07:46:02 +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/alpha-blending: use two_norm tolerance 2022-06-30 09:08:32 +00:00
bad-buffer-test.c
buffer-transforms-test.c
color_util.c tests/color_util: expose color_float_apply_curve() 2022-07-01 07:46:02 +00:00
color_util.h tests/color_util: expose color_float_apply_curve() 2022-07-01 07:46:02 +00:00
color-icc-output-test.c tests/color-icc-output: add blending test 2022-07-01 07:46:02 +00:00
color-manager-test.c
color-metadata-errors-test.c tests: add color-metadata-errors test 2022-05-27 10:30:35 +00:00
color-metadata-parsing-test.c tests: add color-metadata-parsing 2022-05-27 10:30:35 +00:00
config-parser-test.c tests: Use memstream for config-parser test 2022-07-05 10:15:49 +01:00
devices-test.c tests: Use test-desktop-shell for devices-test 2022-06-29 11:38:36 +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: fix leak in drm-smoke-test.c 2022-01-21 11:49:34 +00:00
event-test.c
image-iter.h tests/color-icc-output: extract image-iter.h 2022-06-16 08:52:12 +00:00
input-timestamps-helper.c
input-timestamps-helper.h
internal-screenshot-test.c tests/internal-screenshot: use image-iter.h 2022-06-16 08:52:12 +00:00
ivi-layout-internal-test.c
ivi-layout-test-client.c tests: fix leaks in ivi-layout-test-client 2021-06-16 14:41:08 +00:00
ivi-layout-test-plugin.c tests: preserve ivi runner section 2022-03-08 14:50:41 +02:00
ivi-shell-app-test.c tests: fix leak in ivi-shell-app-test 2021-06-16 14:41:08 +00:00
ivi-test.h
keyboard-test.c tests: destroy client in keyboard-test 2021-06-16 14:41:08 +00:00
lcms_util.c tests/lcms_util: add SetTextTags() 2022-06-03 10:22:25 +00:00
lcms_util.h tests/lcms_util: add SetTextTags() 2022-06-03 10:22:25 +00:00
lcms-util-test.c tests: add lcms-util with MPE curves 2022-06-03 10:22:25 +00:00
linux-explicit-synchronization-test.c tests: fix all leaks in linux-explicit-synchronization-test 2021-06-28 14:21:27 +03:00
matrix-test.c tests: add matrix-test for CI 2022-05-31 12:26:09 +00:00
meson.build zuc: Delete support for forking tests 2022-07-05 10:15:49 +01:00
output-damage-test.c
output-transforms-test.c
plugin-registry-test.c
pointer-shot-test.c tests: fix leak in surface_commit_color() in pointer-shot 2021-06-16 14:41:08 +00:00
pointer-test.c tests: destroy client in pointer-test 2021-06-16 14:41:08 +00:00
presentation-test.c tests: fix leaks in presentation-test 2021-06-16 14:41:08 +00:00
roles-test.c tests/roles: switch to xdg-shell 2021-07-23 17:26:02 +01:00
safe-signal-output-removal-test.c Move shell-utils to its own directory 2022-03-31 17:15:55 +00:00
safe-signal-test.c safe-signal-test: Fix leak 2022-06-29 14:33:21 +01:00
setbacklight.c
string-test.c
subsurface-shot-test.c subsurface-shot-test: Don't leak replaced buffer 2022-06-29 14:33:22 +01:00
subsurface-test.c tests: reduce subsurface-test verbosity 2021-06-23 15:20:25 +03:00
surface-global-test.c libweston: Rename weston_surface_destroy() to weston_surface_unref() 2022-05-12 16:46:31 +03:00
surface-screenshot-test.c
surface-test.c libweston: Rename weston_surface_destroy() to weston_surface_unref() 2022-05-12 16:46:31 +03:00
text-test.c tests: fix all leaks in text-test 2021-06-28 14:21:27 +03:00
timespec-test.c
touch-test.c tests: fix all leaks in touch-test 2021-06-28 14:21:27 +03:00
vertex-clip-test.c
viewporter-shot-test.c
viewporter-test.c
weston-test-client-helper.c tests: add scalar_stat dumps 2022-06-30 09:08:32 +00:00
weston-test-client-helper.h tests: add scalar_stat dumps 2022-06-30 09:08:32 +00:00
weston-test-desktop-shell.c test-desktop-shell: Mark weston_curtain views as mapped 2022-06-16 12:17:15 +03:00
weston-test-fixture-compositor.c tests: Check requirements after setting up args 2022-07-05 10:15:49 +01:00
weston-test-fixture-compositor.h
weston-test-runner.c CI: Never unload llvmpipe DSO whilst testing 2022-07-05 10:15:49 +01:00
weston-test-runner.h tests: Bump alignment for test structures to 64 bytes 2021-08-03 18:42:25 +01:00
weston-test.c libweston: Add weston_surface_map() wrapper 2022-06-16 12:17:15 +03:00
weston-testsuite-data.h
xwayland-test.c tests/xwayland: Remove manual timeout implementation 2021-12-14 14:57:40 +00:00
yuv-buffer-test.c tests/yuv-buffer: use image-iter.h for rgb_image 2022-06-16 08:52:12 +00:00