build-sys: cleanup server/tests/Makefile.am

This commit is contained in:
Marc-André Lureau 2012-03-01 00:25:36 +01:00
parent 5d57fb4d1b
commit 22ee470d4e

View File

@ -13,21 +13,54 @@ if SUPPORT_AUTOMATED_TESTS
INCLUDES += -DAUTOMATED_TESTS
endif
AM_LDFLAGS = $(top_builddir)/server/libspice-server.la
AM_LDFLAGS = \
$(top_builddir)/server/libspice-server.la \
$(NULL)
COMMON_BASE=basic_event_loop.c basic_event_loop.h test_util.h ../../common/backtrace.c
COMMON_BASE = \
../../common/backtrace.c \
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 \
$(NULL)
noinst_PROGRAMS = test_just_sockets_no_ssl test_empty_success test_fail_on_null_core_interface test_display_no_ssl test_display_streaming test_playback
test_display_streaming_SOURCES = \
$(COMMON_BASE) \
test_display_base.c \
test_display_base.h \
test_display_streaming.c \
$(NULL)
test_display_streaming_SOURCES = test_display_streaming.c test_display_base.c test_display_base.h $(COMMON_BASE)
test_display_no_ssl_SOURCES = \
$(COMMON_BASE) \
test_display_base.c \
test_display_base.h \
test_display_no_ssl.c \
$(NULL)
test_display_no_ssl_SOURCES = test_display_no_ssl.c test_display_base.c test_display_base.h $(COMMON_BASE)
test_just_sockets_no_ssl_SOURCES = \
$(COMMON_BASE) \
test_just_sockets_no_ssl.c \
$(NULL)
test_just_sockets_no_ssl_SOURCES = test_just_sockets_no_ssl.c $(COMMON_BASE)
test_playback_SOURCES = \
$(COMMON_BASE) \
test_playback.c \
$(NULL)
test_empty_success_SOURCES = test_empty_success.c
test_empty_success_SOURCES = \
test_empty_success.c \
$(NULL)
test_fail_on_null_core_interface_SOURCES = test_fail_on_null_core_interface.c
test_playback_SOURCES = test_playback.c $(COMMON_BASE)
test_fail_on_null_core_interface_SOURCES = \
test_fail_on_null_core_interface.c \
$(NULL)