Skip to contentSkip to conversation

test: only build DRI2 tests if DRI2 is enabled

PATCH In review Ross Burton 2 participants 3 messages Sep 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test: only build DRI2 tests if DRI2 is enabled

---
 test/Makefile.am |   10 ++++++++++
 1 file changed, 10 insertions(+)
test/Makefile.am +10 -0
index 893fa7d..26d724a 100644
@@ -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 $@
Signature · 1 line
1.7.10.4
#1 lore raw

Thanks for the patch, pushed. If you do catch me on irc, I will happily take build fixes and other trivial patches in any form you can supply them. :)
-Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
#2 lore raw
Quoted 3 lines · Chris Wilson

Thanks for the patch, pushed. If you do catch me on irc, I will happily take build fixes and other trivial patches in any form you can supply them. :)

I'll endeavour to get the next patch to you via avian carriers. :)

Cheers,
Ross