Add simple memory leak check to all tests.

Wrap all tests with a memory balance check to detect potential
memory leaks.
Fixed a few tests that had memory leaks contained in the tests
themselves.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
This commit is contained in:
U. Artie Eoff 2012-03-23 10:01:23 -07:00 committed by Kristian Høgsberg
parent 9086b60d81
commit a0e590a0f3
5 changed files with 37 additions and 1 deletions

View file

@ -12,5 +12,5 @@ event_loop_test_SOURCES = event-loop-test.c test-runner.c
AM_CFLAGS = $(GCC_CFLAGS)
LDADD = $(top_builddir)/src/libwayland-util.la \
$(top_builddir)/src/libwayland-server.la \
-lrt $(FFI_LIBS)
-lrt -ldl $(FFI_LIBS)