[PATCH] Only build test programs with make check

Jakob Bornecrantz jakob at vmware.com
Sat Mar 17 11:35:05 PDT 2012


With my limited knowledge of automake I'm going to have
to NACK this patch. Most of these programs are used during
driver bring up to test things out, often we also modify
them a bit to suit our need.

If this patch doesn't make this any harder then
disregard my NACK.

Cheers Jakob.

----- Original Message -----
> Signed-off-by: Matt Turner <mattst88 at gmail.com>
> ---
>  tests/kmstest/Makefile.am   |    2 +-
>  tests/modeprint/Makefile.am |    2 +-
>  tests/modetest/Makefile.am  |    2 +-
>  tests/radeon/Makefile.am    |    2 +-
>  tests/vbltest/Makefile.am   |    2 +-
>  5 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/tests/kmstest/Makefile.am b/tests/kmstest/Makefile.am
> index ae562a1..10b9ef3 100644
> --- a/tests/kmstest/Makefile.am
> +++ b/tests/kmstest/Makefile.am
> @@ -3,7 +3,7 @@ AM_CFLAGS = \
>  	-I$(top_srcdir)/libkms/ \
>  	-I$(top_srcdir)
>  
> -noinst_PROGRAMS = \
> +check_PROGRAMS = \
>  	kmstest
>  
>  kmstest_SOURCES = \
> diff --git a/tests/modeprint/Makefile.am
> b/tests/modeprint/Makefile.am
> index c4862ac..4291dc5 100644
> --- a/tests/modeprint/Makefile.am
> +++ b/tests/modeprint/Makefile.am
> @@ -2,7 +2,7 @@ AM_CFLAGS = \
>  	-I$(top_srcdir)/include/drm \
>  	-I$(top_srcdir)
>  
> -noinst_PROGRAMS = \
> +check_PROGRAMS = \
>  	modeprint
>  
>  modeprint_SOURCES = \
> diff --git a/tests/modetest/Makefile.am b/tests/modetest/Makefile.am
> index 2191242..dd43d0c 100644
> --- a/tests/modetest/Makefile.am
> +++ b/tests/modetest/Makefile.am
> @@ -4,7 +4,7 @@ AM_CFLAGS = \
>  	-I$(top_srcdir) \
>  	$(CAIRO_CFLAGS)
>  
> -noinst_PROGRAMS = \
> +check_PROGRAMS = \
>  	modetest
>  
>  modetest_SOURCES = \
> diff --git a/tests/radeon/Makefile.am b/tests/radeon/Makefile.am
> index 1775669..d4f6755 100644
> --- a/tests/radeon/Makefile.am
> +++ b/tests/radeon/Makefile.am
> @@ -4,7 +4,7 @@ AM_CFLAGS = \
>  
>  LDADD = $(top_builddir)/libdrm.la
>  
> -noinst_PROGRAMS = \
> +check_PROGRAMS = \
>  	radeon_ttm
>  
>  radeon_ttm_SOURCES = \
> diff --git a/tests/vbltest/Makefile.am b/tests/vbltest/Makefile.am
> index 77f9037..5886bd1 100644
> --- a/tests/vbltest/Makefile.am
> +++ b/tests/vbltest/Makefile.am
> @@ -2,7 +2,7 @@ AM_CFLAGS = \
>  	-I$(top_srcdir)/include/drm \
>  	-I$(top_srcdir)
>  
> -noinst_PROGRAMS = \
> +check_PROGRAMS = \
>  	vbltest
>  
>  vbltest_SOURCES = \
> --
> 1.7.3.4
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
> 


More information about the dri-devel mailing list