From ac34f599eabcfc414d4d3300063988d4749813f4 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 3 Oct 2009 23:17:57 +0100 Subject: tests: Disable intel-specific tests with --disable-intel Signed-off-by: Chris Wilson --- tests/Makefile.am | 23 ++++++++++++++++++----- 1 file 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) - -- cgit v1.2.3