summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: e5e9fc412d198adc0c67aa3570cce3d15f71b9ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
AM_CFLAGS = \
	-I $(top_srcdir)/shared-core \
	-I $(top_srcdir)/libdrm

AM_LDFLAGS = $(top_builddir)/libdrm/libdrm.la

noinst_PROGRAMS = \
	dristat \
	drmstat

SUBDIRS = \
	modeprint \
	modetest

if HAVE_LIBUDEV

EXTRA_LTLIBRARIES = libdrmtest.la
libdrmtest_la_SOURCES = \
	drmtest.c \
	drmtest.h
libdrmtest_la_LIBADD = \
	$(top_builddir)/libdrm/libdrm.la \
	$(LIBUDEV_LIBS)

LDADD = libdrmtest.la

XFAIL_TESTS =					\
	auth					\
	lock

TESTS =						\
	openclose				\
	getversion				\
	getclient				\
	getstats				\
	setversion				\
	updatedraw				\
	gem_basic				\
	gem_flink				\
	gem_readwrite				\
	gem_mmap

EXTRA_PROGRAMS = $(TESTS)

endif

CLEANFILES = $(EXTRA_PROGRAMS) $(EXTRA_LTLIBRARIES)