[Spice-devel] [PATCH v3 2/9] tests: make sure that the default rule builds all tests

Frediano Ziglio fziglio at redhat.com
Fri Jan 22 09:33:51 PST 2016


> 
> The default rule being "all", it builds noinst_PROGRAMS but not
> check_PROGRAMS. Let's build all the tests by default.
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau at gmail.com>

Acked-by: Frediano Ziglio <fziglio at redhat.com>

Frediano

> ---
>  server/tests/Makefile.am | 18 ++++++++----------
>  1 file changed, 8 insertions(+), 10 deletions(-)
> 
> diff --git a/server/tests/Makefile.am b/server/tests/Makefile.am
> index 2161023..7fd7d66 100644
> --- a/server/tests/Makefile.am
> +++ b/server/tests/Makefile.am
> @@ -35,6 +35,13 @@ LDADD =								\
>  	$(SPICE_NONPKGCONFIG_LIBS)				\
>  	$(NULL)
>  
> +TESTS =						\
> +	stat_test				\
> +	stream-test				\
> +	test-loop				\
> +	test-qxl-parsing			\
> +	$(NULL)
> +
>  noinst_PROGRAMS =				\
>  	test_display_no_ssl			\
>  	test_display_streaming			\
> @@ -47,16 +54,7 @@ noinst_PROGRAMS =				\
>  	test_vdagent				\
>  	test_display_width_stride		\
>  	spice-server-replay			\
> -	stream-test				\
> -	stat_test				\
> -	test-loop				\
> -	$(NULL)
> -
> -TESTS =						\
> -	stat_test				\
> -	test-qxl-parsing			\
> -	stream-test				\
> -	test-loop				\
> +	$(TESTS)				\
>  	$(NULL)
>  
>  check_PROGRAMS = $(TESTS)
> --
> 2.5.0
> 
> 


More information about the Spice-devel mailing list