weston/tests
Pekka Paalanen f2aa64f18a tests: check wl_display_roundtrip() for errors
Add a macro that wraps wl_display_roundtrip() and check for errors. It
is a macro, so that the assert would show the relevant file and line
number.

This will also catch protocol errors, that would go unnoticed otherwise.

All roundtrips in tests are replaced with the check.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-12-12 10:39:01 -05:00
..
.gitignore update git ignores 2012-12-12 10:38:45 -05:00
button-test.c tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
event-test.c tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
keyboard-test.c tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
Makefile.am tests: Convert remaining module tests to not use test-runner.c 2012-12-11 23:22:16 -05:00
matrix-test.c Move matrix.[ch] to shared 2012-12-06 15:53:03 -05:00
setbacklight.c Remove some dead code. 2012-10-16 11:29:10 -04:00
surface-global-test.c tests: Convert remaining module tests to not use test-runner.c 2012-12-11 23:22:16 -05:00
surface-test.c tests: Convert remaining module tests to not use test-runner.c 2012-12-11 23:22:16 -05:00
text-test.c tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
weston-test-client-helper.c tests: set client log handler 2012-12-12 10:38:48 -05:00
weston-test-client-helper.h tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
weston-test-runner.c tests: Convert keyboard-test to new test extension 2012-12-11 15:30:25 -05:00
weston-test-runner.h tests: Convert keyboard-test to new test extension 2012-12-11 15:30:25 -05:00
weston-test.c tests: Define and implement a test protocol extension. 2012-12-11 15:29:52 -05:00
weston-tests-env tests: write logs to files 2012-12-12 10:38:38 -05:00