weston/tests
Emilio Pozuelo Monfort dae8a4b9c5 tests: Properly report skipped tests
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>
2014-02-18 13:50:29 -08:00
..
.gitignore Makefile.am: Fix protocol source files usage 2014-02-01 21:21:39 -08:00
bad-buffer-test.c tests: add a test causing SIGBUS to the compositor 2013-11-21 21:47:19 -08:00
buffer-count-test.c tests: Skip buffer-count if EGL initialization fails 2014-02-18 13:49:37 -08:00
button-test.c tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
config-parser-test.c config-parser: Make weston_config_parse() tkae a file name 2013-09-21 23:05:45 -07:00
event-test.c tests: add test for buffer release event 2013-02-08 13:38:17 -05:00
keyboard-test.c tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
matrix-test.c Move matrix.[ch] to shared 2012-12-06 15:53:03 -05:00
setbacklight.c tests/setbacklight: Close filedescriptor on return paths 2013-01-10 16:07:08 -05:00
subsurface-test.c protocol: move sub-surfaces to Wayland 2013-11-15 16:23:17 -08:00
surface-global-test.c Remove the weston_view.geometry.width/height fields 2013-12-02 22:17:58 -08:00
surface-test.c Remove the weston_view.geometry.width/height fields 2013-12-02 22:17:58 -08:00
text-test.c build: Move clients libexec_PROGRAMS under BUILD_CLIENTS conditional 2014-01-01 13:52:20 -08:00
vertex-clip-test.c Remove dependency on <GLES2/gl2.h> by replacing GLfloat with float 2013-11-27 22:49:31 -08:00
weston-test-client-helper.c tests: Properly report skipped tests 2014-02-18 13:50:29 -08:00
weston-test-client-helper.h tests: Only run buffer-count test if we have at least mesa 10 2014-01-01 17:38:04 -08:00
weston-test-runner.c tests: Properly report skipped tests 2014-02-18 13:50:29 -08:00
weston-test-runner.h Add support for table-driven testing. 2013-09-13 15:19:35 -07:00
weston-test.c tests: Properly report skipped tests 2014-02-18 13:50:29 -08:00
weston-tests-env tests: use the headless backend to run the test suite 2014-02-18 13:50:24 -08:00
xwayland-test.c tests: Add XWayland test 2013-02-08 12:18:05 -05:00