Only build test programs with make check
PATCH 1/1 Only build test programs with make check
--- 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(-)
tests/kmstest/Makefile.am +1 -1
@@ -3,7 +3,7 @@ AM_CFLAGS = \ -I$(top_srcdir)/libkms/ \ -I$(top_srcdir) -noinst_PROGRAMS = \ +check_PROGRAMS = \ kmstest kmstest_SOURCES = \
tests/modeprint/Makefile.am +1 -1
@@ -2,7 +2,7 @@ AM_CFLAGS = \ -I$(top_srcdir)/include/drm \ -I$(top_srcdir) -noinst_PROGRAMS = \ +check_PROGRAMS = \ modeprint modeprint_SOURCES = \
tests/modetest/Makefile.am +1 -1
@@ -4,7 +4,7 @@ AM_CFLAGS = \ -I$(top_srcdir) \ $(CAIRO_CFLAGS) -noinst_PROGRAMS = \ +check_PROGRAMS = \ modetest modetest_SOURCES = \
tests/radeon/Makefile.am +1 -1
@@ -4,7 +4,7 @@ AM_CFLAGS = \ LDADD = $(top_builddir)/libdrm.la -noinst_PROGRAMS = \ +check_PROGRAMS = \ radeon_ttm radeon_ttm_SOURCES = \
tests/vbltest/Makefile.am +1 -1
@@ -2,7 +2,7 @@ AM_CFLAGS = \ -I$(top_srcdir)/include/drm \ -I$(top_srcdir) -noinst_PROGRAMS = \ +check_PROGRAMS = \ vbltest vbltest_SOURCES = \
Signature · 1 line
1.7.3.4
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 -----
Quoted 83 lines
Signed-off-by Matt Turner <[email protected]>--- 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(-)tests/kmstest/Makefile.am +1
-1@@ -3,7 +3,7 @@ AM_CFLAGS = \ -I$(top_srcdir)/libkms/ \ -I$(top_srcdir) -noinst_PROGRAMS = \ +check_PROGRAMS = \ kmstest kmstest_SOURCES = \tests/modeprint/Makefile.am +1
-1@@ -2,7 +2,7 @@ AM_CFLAGS = \ -I$(top_srcdir)/include/drm \ -I$(top_srcdir) -noinst_PROGRAMS = \ +check_PROGRAMS = \ modeprint modeprint_SOURCES = \tests/modetest/Makefile.am +1
-1@@ -4,7 +4,7 @@ AM_CFLAGS = \ -I$(top_srcdir) \ $(CAIRO_CFLAGS) -noinst_PROGRAMS = \ +check_PROGRAMS = \ modetest modetest_SOURCES = \tests/radeon/Makefile.am +1
-1@@ -4,7 +4,7 @@ AM_CFLAGS = \ LDADD = $(top_builddir)/libdrm.la -noinst_PROGRAMS = \ +check_PROGRAMS = \ radeon_ttm radeon_ttm_SOURCES = \tests/vbltest/Makefile.am +1
-2@@ -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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 7 lines · Jakob Bornecrantz
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.
Harder, like having to run make check?
I'm not sure about modeprint, so I can drop that, but the rest look like programs you'd want to run during make check.
Quoted 6 lines · Matt Turner
Quoted 5 lines · Jakob Bornecrantz
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.
Quoted 7 lines
Quoted 2 lines
If this patch doesn't make this any harder then disregard my NACK.
Harder, like having to run make check?
I'm not sure about modeprint, so I can drop that, but the rest look like programs you'd want to run during make check.
I don't think you want to run any of them during make check, they test the running kernel AFAIK which isn't all that relevant.
Cheers,
Julien