From 26824536c89b61c04952ce999f415f3c0b13e0c6 Mon Sep 17 00:00:00 2001
From: Luca Barbato <lu_zero@gentoo.org>
Date: Sun, 27 Mar 2011 18:11:17 +0200
Subject: [PATCH] Keep tests under the check target

noinst_PROGRAMS was wrongly used to build test programs.

This partially solve the cairo circular dependency.
---
 tests/kmstest/Makefile.am   |    2 +-
 tests/modeprint/Makefile.am |    2 +-
 tests/modetest/Makefile.am  |    2 +-
 tests/vbltest/Makefile.am   |    2 +-
 4 files changed, 4 insertions(+), 4 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/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.4.rc3

