summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-10-03 23:17:57 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-10-03 23:18:19 +0100
commitac34f599eabcfc414d4d3300063988d4749813f4 (patch)
treee720f5edb9d5e9ccf52c54a47e3259f68b867804
parentab3300c5816ee26e2d74ac99e2d84c3dfd7cdf82 (diff)
tests: Disable intel-specific tests with --disable-intel
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--tests/Makefile.am23
1 files changed, 18 insertions, 5 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 98c106b3..af44d6a3 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,3 +1,5 @@
+NULL:=#
+
AM_CPPFLAGS = \
-I $(top_srcdir)/shared-core \
-I $(top_srcdir)/libdrm
@@ -8,9 +10,10 @@ noinst_PROGRAMS = \
dristat \
drmstat
-SUBDIRS = \
- modeprint \
- modetest
+SUBDIRS =
+
+if HAVE_INTEL
+endif
if HAVE_LIBUDEV
@@ -37,14 +40,24 @@ TESTS = \
getstats \
setversion \
updatedraw \
+ $(NULL)
+
+if HAVE_INTEL
+SUBDIRS += \
+ modeprint \
+ modetest \
+ $(NULL)
+
+TESTS += \
gem_basic \
gem_flink \
gem_readwrite \
- gem_mmap
+ gem_mmap \
+ $(NULL)
+endif
EXTRA_PROGRAMS = $(TESTS)
endif
CLEANFILES = $(EXTRA_PROGRAMS) $(EXTRA_LTLIBRARIES)
-