[Spice-devel] [PATCH spice 3/4] build-sys: cleanup server/tests/Makefile.am
Alon Levy
alevy at redhat.com
Thu Mar 1 04:04:59 PST 2012
On Thu, Mar 01, 2012 at 12:20:01PM +0100, Marc-André Lureau wrote:
> ---
> server/tests/Makefile.am | 53 +++++++++++++++++++++++++++++++++++++--------
> 1 files changed, 43 insertions(+), 10 deletions(-)
>
$(NULL) is just to have an eye catching end and be able to line copy any
other line without forgetting the ending backslash?
Ack.
> diff --git a/server/tests/Makefile.am b/server/tests/Makefile.am
> index bc4e00e..31c8372 100644
> --- a/server/tests/Makefile.am
> +++ b/server/tests/Makefile.am
> @@ -13,21 +13,54 @@ if SUPPORT_AUTOMATED_TESTS
> INCLUDES += -DAUTOMATED_TESTS
> endif
>
> -AM_LDFLAGS = $(top_builddir)/server/libspice-server.la
> -
> -COMMON_BASE=basic_event_loop.c basic_event_loop.h test_util.h ../../common/backtrace.c
> +AM_LDFLAGS = \
> + $(top_builddir)/server/libspice-server.la \
> + $(NULL)
>
> +COMMON_BASE = \
> + ../../common/backtrace.c \
> + basic_event_loop.c \
> + basic_event_loop.h \
> + test_util.h \
> + $(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
> +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)
>
> -test_display_streaming_SOURCES = test_display_streaming.c test_display_base.c test_display_base.h $(COMMON_BASE)
> +test_display_streaming_SOURCES = \
> + $(COMMON_BASE) \
> + test_display_base.c \
> + test_display_base.h \
> + test_display_streaming.c \
> + $(NULL)
>
> -test_display_no_ssl_SOURCES = test_display_no_ssl.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_just_sockets_no_ssl_SOURCES = test_just_sockets_no_ssl.c $(COMMON_BASE)
> +test_just_sockets_no_ssl_SOURCES = \
> + $(COMMON_BASE) \
> + test_just_sockets_no_ssl.c \
> + $(NULL)
>
> -test_empty_success_SOURCES = test_empty_success.c
> +test_playback_SOURCES = \
> + $(COMMON_BASE) \
> + test_playback.c \
> + $(NULL)
>
> -test_fail_on_null_core_interface_SOURCES = test_fail_on_null_core_interface.c
> +test_empty_success_SOURCES = \
> + test_empty_success.c \
> + $(NULL)
>
> -test_playback_SOURCES = test_playback.c $(COMMON_BASE)
> +test_fail_on_null_core_interface_SOURCES = \
> + test_fail_on_null_core_interface.c \
> + $(NULL)
> --
> 1.7.7.6
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list