Commit graph xserver/test/tests-common.c
Author SHA1 Message Date
Lukáš Lipinský
84ea9e8ccb test: fail when a child terminates abnormally
When a later test child is killed by a signal, exit_code may still contain
zero from the preceding child. Return EXIT_FAILURE explicitly so Meson cannot
report a false success.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2293>
Signed-off-by: Lukáš Lipinský <18076-Mr-Tao@users.noreply.gitlab.freedesktop.org>
2026-10-19 14:14:08 +02:00
Peter Hutterer
46b579e8d5 test: switch the unit tests to something resembling a test suite
The tests have inadvertent dependencies on each other so let's avoid
those by changing to a system that returns a null-terminated list of
test functions and our test runner iterates over those and forks off one
process per function.
2024-01-30 00:15:10 +00:00
Mihail Konev
371576f64b tests: Convert test/xi1/ to single binary
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-12 15:01:29 -05:00