Makefile.am 1.6 KB
Newer Older
1
TESTS =						\
2
	array-test				\
Dylan Noblesmith's avatar
Dylan Noblesmith committed
3
	client-test				\
4
	display-test				\
5 6
	connection-test				\
	event-loop-test				\
Dylan Noblesmith's avatar
Dylan Noblesmith committed
7 8 9
	fixed-test				\
	list-test				\
	map-test				\
10
	os-wrappers-test			\
11
	sanity-test				\
Jonas Ådahl's avatar
Jonas Ådahl committed
12
	socket-test				\
Marek Ch's avatar
Marek Ch committed
13
	queue-test				\
Marek Ch's avatar
Marek Ch committed
14 15
	signal-test				\
	resources-test
16

17
check_PROGRAMS =				\
18
	$(TESTS)				\
19 20
	exec-fd-leak-checker

21 22 23
noinst_PROGRAMS =				\
	fixed-benchmark

Pekka Paalanen's avatar
Pekka Paalanen committed
24
test_runner_src = test-runner.c test-runner.h test-helpers.c
25 26

array_test_SOURCES = array-test.c $(test_runner_src)
Dylan Noblesmith's avatar
Dylan Noblesmith committed
27
client_test_SOURCES = client-test.c $(test_runner_src)
28
display_test_SOURCES = display-test.c $(test_runner_src)
29 30
connection_test_SOURCES = connection-test.c $(test_runner_src)
event_loop_test_SOURCES = event-loop-test.c $(test_runner_src)
31
fixed_test_SOURCES = fixed-test.c $(test_runner_src)
Dylan Noblesmith's avatar
Dylan Noblesmith committed
32 33 34
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)
35
socket_test_SOURCES = socket-test.c $(test_runner_src)
Jonas Ådahl's avatar
Jonas Ådahl committed
36
queue_test_SOURCES = queue-test.c $(test_runner_src)
Marek Ch's avatar
Marek Ch committed
37
signal_test_SOURCES = signal-test.c $(test_runner_src)
Marek Ch's avatar
Marek Ch committed
38
resources_test_SOURCES = resources-test.c $(test_runner_src)
39 40

fixed_benchmark_SOURCES = fixed-benchmark.c
41

42 43 44 45 46
os_wrappers_test_SOURCES = 			\
	os-wrappers-test.c			\
	../src/wayland-os.c			\
	$(test_runner_src)

47 48
AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
AM_CFLAGS = $(GCC_CFLAGS) $(FFI_CFLAGS)
49 50 51
LDADD = ../libwayland-util.la \
	../libwayland-client.la \
	../libwayland-server.la \
52
	-lrt -ldl $(FFI_LIBS)
53

54 55 56 57 58
exec_fd_leak_checker_SOURCES =			\
	exec-fd-leak-checker.c			\
	test-runner.h				\
	test-helpers.c
exec_fd_leak_checker_LDADD =