summaryrefslogtreecommitdiffstats
path: root/server/tests/Makefile.am
blob: e0472f357a2381dc2a8a0132a90594396c8a54c0 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
NULL =

INCLUDES =					\
	-I$(top_srcdir)				\
	-I$(top_srcdir)/common			\
	-I$(top_srcdir)/server			\
	-I$(top_srcdir)/server/tests		\
	$(COMMON_CFLAGS)			\
	$(SMARTCARD_CFLAGS)			\
	$(SPICE_NONPKGCONFIG_CFLAGS)		\
	$(NULL)

if SUPPORT_AUTOMATED_TESTS
INCLUDES += -DAUTOMATED_TESTS
endif

LDADD =								\
	$(top_builddir)/spice-common/common/libspice-common.la	\
	$(top_builddir)/server/libspice-server.la		\
	$(NULL)

COMMON_BASE =					\
	basic_event_loop.c			\
	basic_event_loop.h			\
	test_util.h				\
	$(NULL)

noinst_PROGRAMS =						\
	test_display_no_ssl					\
	test_display_streaming				\
	test_empty_success					\
	test_fail_on_null_core_interface	\
	test_just_sockets_no_ssl			\
	test_playback						\
	test_display_resolution_changes		\
	test_two_servers					\
	test_vdagent						\
	$(NULL)

test_vdagent_SOURCES =		\
	$(COMMON_BASE)				\
	test_display_base.c			\
	test_display_base.h			\
	test_vdagent.c		\
	$(NULL)

test_display_streaming_SOURCES =		\
	$(COMMON_BASE)				\
	test_display_base.c			\
	test_display_base.h			\
	test_display_streaming.c		\
	$(NULL)

test_display_no_ssl_SOURCES =			\
	$(COMMON_BASE)				\
	test_display_base.c			\
	test_display_base.h			\
	test_display_no_ssl.c 			\
	$(NULL)

test_display_resolution_changes_SOURCES = \
	$(COMMON_BASE)				\
	test_display_base.c			\
	test_display_base.h			\
	test_display_resolution_changes.c	 \
	$(NULL)

test_just_sockets_no_ssl_SOURCES =		\
	$(COMMON_BASE)				\
	test_just_sockets_no_ssl.c		\
	$(NULL)

test_playback_SOURCES =				\
	$(COMMON_BASE)				\
	test_playback.c				\
	$(NULL)

test_empty_success_SOURCES =			\
	test_empty_success.c			\
	$(NULL)

test_fail_on_null_core_interface_SOURCES =	\
	test_fail_on_null_core_interface.c	\
	$(NULL)

test_two_servers_SOURCES =			\
	$(COMMON_BASE)				\
	test_display_base.c			\
	test_display_base.h			\
	test_two_servers.c 			\
	$(NULL)