tests: Add Unit tests for wl_map and wl_array data structures

We use a simple test-runner helper that runs each test in a separate
process and reports the pass/fail rate at the end.
This commit is contained in:
Kristian Høgsberg 2012-03-02 18:03:16 -05:00
parent 214e343311
commit 62d2569954
6 changed files with 281 additions and 1 deletions

8
tests/Makefile.am Normal file
View file

@ -0,0 +1,8 @@
TESTS = $(check_PROGRAMS)
check_PROGRAMS = array-test map-test
map_test_SOURCES = map-test.c test-runner.c
array_test_SOURCES = array-test.c test-runner.c
LDADD = $(top_builddir)/src/libwayland-util.la