summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 7ca3f40eb78e166fa50f22aeebf16d89a067d839 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
TESTS =						\
	array-test				\
	client-test				\
	connection-test				\
	event-loop-test				\
	fixed-test				\
	list-test				\
	map-test				\
	os-wrappers-test			\
	sanity-test

check_PROGRAMS =				\
	$(TESTS)				\
	exec-fd-leak-checker

noinst_PROGRAMS =				\
	fixed-benchmark

test_runner_src = test-runner.c test-runner.h test-helpers.c

array_test_SOURCES = array-test.c $(test_runner_src)
client_test_SOURCES = client-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)
fixed_test_SOURCES = fixed-test.c $(test_runner_src)
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)

fixed_benchmark_SOURCES = fixed-benchmark.c

os_wrappers_test_SOURCES = 			\
	os-wrappers-test.c			\
	../src/wayland-os.c			\
	$(test_runner_src)

AM_CFLAGS = $(GCC_CFLAGS) $(FFI_CFLAGS) -I../src
LDADD = $(top_builddir)/src/libwayland-util.la \
	$(top_builddir)/src/libwayland-server.la \
	-lrt -ldl $(FFI_LIBS)

exec_fd_leak_checker_SOURCES =			\
	exec-fd-leak-checker.c			\
	test-runner.h				\
	test-helpers.c
exec_fd_leak_checker_LDADD =