Skip to contentSkip to conversation

Only build test programs with make check

PATCH In review Matt Turner 3 participants 4 messages Mar 17, 2012 – Mar 18, 2012

lore
Share & tools
lore
#0 lore raw

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
index ae562a1..10b9ef3 100644
@@ -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
index c4862ac..4291dc5 100644
@@ -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
index 2191242..dd43d0c 100644
@@ -4,7 +4,7 @@ AM_CFLAGS = \
 	-I$(top_srcdir) \
 	$(CAIRO_CFLAGS)
 
-noinst_PROGRAMS = \
+check_PROGRAMS = \
 	modetest
 
 modetest_SOURCES = \
tests/radeon/Makefile.am +1 -1
index 1775669..d4f6755 100644
@@ -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
index 77f9037..5886bd1 100644
@@ -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
#1 lore raw

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
---
 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
index ae562a1..10b9ef3 100644
@@ -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
index c4862ac..4291dc5 100644
@@ -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
index 2191242..dd43d0c 100644
@@ -4,7 +4,7 @@ AM_CFLAGS = \
 	-I$(top_srcdir) \
 	$(CAIRO_CFLAGS)
 
-noinst_PROGRAMS = \
+check_PROGRAMS = \
 	modetest
 
 modetest_SOURCES = \
tests/radeon/Makefile.am +1 -1
index 1775669..d4f6755 100644
@@ -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
index 77f9037..5886bd1 100644
@@ -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

#2 lore raw
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.

#3 lore raw
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