st/xvmc: automake: move tests to noinst
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 17 Aug 2014 22:55:48 +0000 (23:55 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 28 Aug 2014 20:24:40 +0000 (21:24 +0100)
All the tests require an installed and setup XvMC, thus they
are not good candidates for 'make check'.
Keep them around as the user might want to actually test the
implementation post installation/setup.

Cc: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: Tom Stellard <thomas.stellard@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/state_trackers/xvmc/Makefile.am

index 3968238..c667ab2 100644 (file)
@@ -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