tests: add display testing program

Just a simple program to light up all detected outputs at their native
mode and respond to hotplug events.
This commit is contained in:
Jesse Barnes
2010-12-21 09:38:23 -08:00
parent 253acc34af
commit 5406c633a0
3 changed files with 726 additions and 0 deletions
+10
View File
@@ -24,5 +24,15 @@ AM_CFLAGS = $(DRM_CFLAGS) $(WARN_CFLAGS) \
-I$(srcdir)/../lib
LDADD = ../lib/libintel_tools.la $(PCIACCESS_LIBS) $(DRM_LIBS)
if HAVE_CAIRO
if HAVE_LIBUDEV
if HAVE_GLIB
TESTS += testdisplay
LDADD += $(CAIRO_LIBS) $(LIBUDEV_LIBS) $(GLIB_LIBS)
AM_CFLAGS += $(CAIRO_CFLAGS) $(LIBUDEV_CFLAGS) $(GLIB_CFLAGS)
endif
endif
endif
gem_fence_thrash_CFLAGS = $(AM_CFLAGS) -pthread
gem_fence_thrash_LDADD = $(LDADD) -lpthread