mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-25 06:59:46 -05:00
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>
16 lines
520 B
Makefile
16 lines
520 B
Makefile
TESTS = $(check_PROGRAMS)
|
|
|
|
|
|
check_PROGRAMS = array-test map-test list-test connection-test event-loop-test
|
|
|
|
map_test_SOURCES = map-test.c test-runner.c test-runner.h
|
|
array_test_SOURCES = array-test.c test-runner.c
|
|
list_test_SOURCES = list-test.c test-runner.c
|
|
connection_test_SOURCES = connection-test.c test-runner.c
|
|
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 -ldl $(FFI_LIBS)
|
|
|