[PATCH weston] internal-screenshot-test: Make distcheck pass

Bryce Harrington bryce at osg.samsung.com
Tue May 26 17:19:57 PDT 2015


On Tue, May 26, 2015 at 10:21:03AM -0500, Derek Foreman wrote:
> Add the output screenshot to CLEANFILES so it's properly removed on
> distclean, and add the reference files and ini to EXTRA_DIST so
> distcheck can find them.

Good catches.

> Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
Tested-by: Bryce Harrington <bryce at osg.samsung.com>
Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>

Fixes distcheck for me as well, and obviously correct.
pushed:
   8267056..1ce2ef5  master -> master

> ---
> 
>  Makefile.am | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index e860e0e..5819b19 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -56,6 +56,7 @@ AM_CPPFLAGS = 					\
>  CLEANFILES = weston.ini				\
>  	ivi-shell/weston.ini			\
>  	tests/weston-ivi.ini			\
> +	internal-screenshot-00.png		\
>  	$(BUILT_SOURCES)
>  
>  bin_PROGRAMS += weston
> @@ -1174,7 +1175,11 @@ setbacklight_CFLAGS = $(AM_CFLAGS) $(SETBACKLIGHT_CFLAGS)
>  setbacklight_LDADD = $(SETBACKLIGHT_LIBS)
>  endif
>  
> -EXTRA_DIST += tests/weston-tests-env
> +EXTRA_DIST +=							\
> +	tests/weston-tests-env					\
> +	tests/internal-screenshot.ini				\
> +	tests/reference/internal-screenshot-bad-00.png		\
> +	tests/reference/internal-screenshot-good-00.png
>  
>  BUILT_SOURCES +=				\
>  	protocol/weston-test-protocol.c	\
> -- 
> 2.1.4
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list