[Spice-devel] [PATCH spice-streaming-agent] build: Use same options to compile unit tests

Christophe Fergeau cfergeau at redhat.com
Thu Apr 26 09:45:11 UTC 2018


Acked-by: Christophe Fergeau <cfergeau at redhat.com>

On Mon, Apr 23, 2018 at 04:11:00PM +0100, Frediano Ziglio wrote:
> Unit test where not compiling with same options.
> In this case warnings are different producing different results.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  src/unittests/Makefile.am | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/unittests/Makefile.am b/src/unittests/Makefile.am
> index 0fc6d50..9047b80 100644
> --- a/src/unittests/Makefile.am
> +++ b/src/unittests/Makefile.am
> @@ -13,6 +13,10 @@ AM_CFLAGS = \
>  	$(WARN_CFLAGS) \
>  	$(NULL)
>  
> +AM_CXXFLAGS = \
> +	$(WARN_CXXFLAGS) \
> +	$(NULL)
> +
>  check_PROGRAMS = \
>  	hexdump \
>  	test-mjpeg-fallback \
> -- 
> 2.14.3
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180426/e157b5be/attachment.sig>


More information about the Spice-devel mailing list