2012-04-26 20:06:43 +08:00
|
|
|
TESTS = \
|
2012-04-13 21:53:15 +08:00
|
|
|
array-test \
|
2012-06-16 06:06:58 +08:00
|
|
|
client-test \
|
2012-04-13 21:53:15 +08:00
|
|
|
connection-test \
|
|
|
|
event-loop-test \
|
2012-06-16 06:06:58 +08:00
|
|
|
fixed-test \
|
|
|
|
list-test \
|
|
|
|
map-test \
|
2012-05-12 11:36:20 +08:00
|
|
|
os-wrappers-test \
|
2012-06-16 06:56:37 +08:00
|
|
|
sanity-test \
|
|
|
|
socket-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-05-12 11:36:20 +08:00
|
|
|
noinst_PROGRAMS = \
|
|
|
|
fixed-benchmark
|
|
|
|
|
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
|
|
|
|
|
|
|
array_test_SOURCES = array-test.c $(test_runner_src)
|
2012-06-16 06:06:58 +08:00
|
|
|
client_test_SOURCES = client-test.c $(test_runner_src)
|
2012-04-19 17:12:13 +08:00
|
|
|
connection_test_SOURCES = connection-test.c $(test_runner_src)
|
|
|
|
event_loop_test_SOURCES = event-loop-test.c $(test_runner_src)
|
2012-05-12 11:36:20 +08:00
|
|
|
fixed_test_SOURCES = fixed-test.c $(test_runner_src)
|
2012-06-16 06:06:58 +08:00
|
|
|
list_test_SOURCES = list-test.c $(test_runner_src)
|
|
|
|
map_test_SOURCES = map-test.c $(test_runner_src)
|
|
|
|
sanity_test_SOURCES = sanity-test.c $(test_runner_src)
|
2012-06-16 06:56:37 +08:00
|
|
|
socket_test_SOURCES = socket-test.c $(test_runner_src)
|
2012-05-12 11:36:20 +08:00
|
|
|
|
|
|
|
fixed_benchmark_SOURCES = fixed-benchmark.c
|
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-06-16 06:44:28 +08:00
|
|
|
AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
|
|
|
|
AM_CFLAGS = $(GCC_CFLAGS) $(FFI_CFLAGS)
|
2012-03-14 20:47:40 +08:00
|
|
|
LDADD = $(top_builddir)/src/libwayland-util.la \
|
2012-06-16 06:56:37 +08:00
|
|
|
$(top_builddir)/src/libwayland-client.la \
|
2012-03-14 20:47:40 +08:00
|
|
|
$(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 =
|