weston/tests
Sam Spilsbury b502126e19 Add support for table-driven testing.
The new TEST_P macro takes a function name and a "data" argument to
point to an arbitrary array of known size of test data. This allows
multiple tests to be run with different datasets. The array is stored
as a void * but advanced by a known size on each iteration.

The data for each invocation of the test is provided as a "data" argument,
it is the responsibility of the test to cast it to something sensible.

Also fixed single-test running to only run the tests specified
2013-09-13 15:19:35 -07:00
..
.gitignore tests: Move config-parser.test to tests/ 2013-07-08 18:14:04 -04:00
button-test.c tests: check wl_display_roundtrip() for errors 2012-12-12 10:39:01 -05:00
config-parser-test.c tests: Fix warnings in config-parser-test 2013-07-09 02:02:11 -04: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
Makefile.am Remove AM_LDFLAGS usage 2013-09-13 15:13:49 -07: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 tests: add a sub-surface nesting loop test 2013-05-17 16:21:59 -04:00
surface-global-test.c fix module_init signature in module tests 2013-05-17 16:04:49 -04:00
surface-test.c fix module_init signature in module tests 2013-05-17 16:04:49 -04:00
text-test.c text: Rename text_input to wl_text_input 2013-05-02 17:06:27 -04:00
weston-test-client-helper.c Add more missing config.h #includes 2013-08-26 14:59:14 -07:00
weston-test-client-helper.h tests: export create_shm_buffer() helper 2013-02-08 13:38:14 -05:00
weston-test-runner.c Add support for table-driven testing. 2013-09-13 15:19:35 -07:00
weston-test-runner.h Add support for table-driven testing. 2013-09-13 15:19:35 -07:00
weston-test.c malloc + memset -> zalloc 2013-08-08 13:46:13 -07:00
weston-tests-env tests: use variable for test name in weston-tests-env 2013-09-11 13:40:01 -07:00
xwayland-test.c tests: Add XWayland test 2013-02-08 12:18:05 -05:00