xf86-video-intel: test/Makefile.am

Chris Wilson ickle at kemper.freedesktop.org
Wed Sep 11 13:46:52 PDT 2013


 test/Makefile.am |   10 ++++++++++
 1 file changed, 10 insertions(+)

New commits:
commit 4fb651cb5f6086121d9ad9182e2374d90470ecce
Author: Ross Burton <ross.burton at intel.com>
Date:   Wed Sep 11 21:28:05 2013 +0100

    test: only build DRI2 tests if DRI2 is enabled
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>

diff --git a/test/Makefile.am b/test/Makefile.am
index 893fa7d..26d724a 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -16,9 +16,14 @@ stress_TESTS = \
 	render-copyarea-size \
 	render-copy-alphaless \
 	mixed-stress \
+	$(NULL)
+
+if DRI2
+stress_TESTS += \
 	dri2-swap \
 	dri2-race \
 	$(NULL)
+endif
 
 check_PROGRAMS = $(stress_TESTS)
 
@@ -34,9 +39,14 @@ libtest_la_SOURCES = \
 	test_image.c \
 	test_log.c \
 	test_render.c \
+	$(NULL)
+
+if DRI2
+libtest_la_SOURCES += \
 	dri2.c \
 	dri2.h \
 	$(NULL)
+endif
 
 vsync.avi: mkvsync.sh
 	./mkvsync.sh $@


More information about the xorg-commit mailing list