dae8a4b9c5
We were calling exit(0) when tests were skipped, which counted them as passed instead of skipped. Fix this by properly exiting with 77 (which is what automake expects for skipped tests) from the tests themselves, then returning 77 again from weston-test-runner if all the tests were skipped. Finally the weston-test.so module catches weston-test-runner's exit code and uses it as an exit code, which is what automake will see and use. Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> |
||
---|---|---|
.. | ||
.gitignore | ||
bad-buffer-test.c | ||
buffer-count-test.c | ||
button-test.c | ||
config-parser-test.c | ||
event-test.c | ||
keyboard-test.c | ||
matrix-test.c | ||
setbacklight.c | ||
subsurface-test.c | ||
surface-global-test.c | ||
surface-test.c | ||
text-test.c | ||
vertex-clip-test.c | ||
weston-test-client-helper.c | ||
weston-test-client-helper.h | ||
weston-test-runner.c | ||
weston-test-runner.h | ||
weston-test.c | ||
weston-tests-env | ||
xwayland-test.c |