[Mesa-dev] [PATCH 11/22] st/xvmc: automake: move tests to noinst

Emil Velikov emil.l.velikov at gmail.com
Mon Aug 18 16:20:48 PDT 2014


All the test require and installed and setup XvMC, and as such
are not a good candidate for 'make check'.
Keep them around as the user might want to actually test the
implementation post installation/setup.

Cc: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: Tom Stellard <thomas.stellard at amd.com>
Cc: Christian König <christian.koenig at amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/gallium/state_trackers/xvmc/Makefile.am | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/gallium/state_trackers/xvmc/Makefile.am b/src/gallium/state_trackers/xvmc/Makefile.am
index 3968238..c667ab2 100644
--- a/src/gallium/state_trackers/xvmc/Makefile.am
+++ b/src/gallium/state_trackers/xvmc/Makefile.am
@@ -32,14 +32,15 @@ noinst_LTLIBRARIES = libxvmctracker.la
 
 libxvmctracker_la_SOURCES = $(C_SOURCES)
 
-check_PROGRAMS = \
+## The tests require the XvMC library to be installed and the wrapper to
+## point to the correct library (via /etc/X11/XvMCConfig).
+noinst_PROGRAMS = \
+	tests/xvmc_bench \
 	tests/test_context \
 	tests/test_surface \
 	tests/test_subpicture \
 	tests/test_blocks \
 	tests/test_rendering
-TESTS = $(check_PROGRAMS)
-noinst_PROGRAMS = tests/xvmc_bench
 
 TEST_LIBS = $(XVMC_LIBS) -lXvMCW
 tests_test_context_SOURCES = tests/test_context.c tests/testlib.c
-- 
2.0.2



More information about the mesa-dev mailing list