2012-04-26 20:06:43 +08:00
|
|
|
TESTS = \
|
2012-04-19 19:46:52 +08:00
|
|
|
sanity-test \
|
2012-04-13 21:53:15 +08:00
|
|
|
array-test \
|
|
|
|
map-test \
|
|
|
|
list-test \
|
|
|
|
connection-test \
|
|
|
|
event-loop-test \
|
2012-03-21 17:11:26 +08:00
|
|
|
client-test \
|
|
|
|
os-wrappers-test
|
2012-03-03 07:03:16 +08:00
|
|
|
|
2012-04-20 19:22:51 +08:00
|
|
|
check_PROGRAMS = \
|
2012-04-26 20:06:43 +08:00
|
|
|
$(TESTS) \
|
2012-04-20 19:22:51 +08:00
|
|
|
exec-fd-leak-checker
|
|
|
|
|
2012-04-19 21:52:32 +08:00
|
|
|
test_runner_src = test-runner.c test-runner.h test-helpers.c
|
2012-04-19 17:12:13 +08:00
|
|
|
|
2012-04-19 19:46:52 +08:00
|
|
|
sanity_test_SOURCES = sanity-test.c $(test_runner_src)
|
2012-04-19 17:12:13 +08:00
|
|
|
map_test_SOURCES = map-test.c $(test_runner_src)
|
|
|
|
array_test_SOURCES = array-test.c $(test_runner_src)
|
|
|
|
list_test_SOURCES = list-test.c $(test_runner_src)
|
|
|
|
connection_test_SOURCES = connection-test.c $(test_runner_src)
|
|
|
|
event_loop_test_SOURCES = event-loop-test.c $(test_runner_src)
|
|
|
|
client_test_SOURCES = client-test.c $(test_runner_src)
|
2012-03-03 12:42:46 +08:00
|
|
|
|
2012-03-21 17:11:26 +08:00
|
|
|
os_wrappers_test_SOURCES = \
|
|
|
|
os-wrappers-test.c \
|
|
|
|
../src/wayland-os.c \
|
|
|
|
$(test_runner_src)
|
|
|
|
|
2012-05-02 03:30:12 +08:00
|
|
|
AM_CFLAGS = $(GCC_CFLAGS) $(FFI_CFLAGS) -I../src
|
2012-03-14 20:47:40 +08:00
|
|
|
LDADD = $(top_builddir)/src/libwayland-util.la \
|
|
|
|
$(top_builddir)/src/libwayland-server.la \
|
2012-03-24 01:01:23 +08:00
|
|
|
-lrt -ldl $(FFI_LIBS)
|
2012-03-03 07:03:16 +08:00
|
|
|
|
2012-04-20 19:22:51 +08:00
|
|
|
exec_fd_leak_checker_SOURCES = \
|
|
|
|
exec-fd-leak-checker.c \
|
|
|
|
test-runner.h \
|
|
|
|
test-helpers.c
|
|
|
|
exec_fd_leak_checker_LDADD =
|