add tag and changes
[profile/ivi/libdrm.git] / tests / Makefile.am
1 NULL:=#
2
3 AM_CPPFLAGS = \
4         -I $(top_srcdir)/include/drm \
5         -I $(top_srcdir)
6
7 LDADD = $(top_builddir)/libdrm.la
8
9 check_PROGRAMS = \
10         dristat \
11         drmstat
12
13 SUBDIRS = modeprint
14
15 if HAVE_LIBKMS
16 SUBDIRS += kmstest modetest
17 endif
18
19 if HAVE_RADEON
20 SUBDIRS += radeon
21 endif
22
23 if HAVE_LIBUDEV
24
25 check_LTLIBRARIES = libdrmtest.la
26
27 libdrmtest_la_SOURCES = \
28         drmtest.c \
29         drmtest.h
30
31 libdrmtest_la_LIBADD = \
32         $(top_builddir)/libdrm.la \
33         $(LIBUDEV_LIBS)
34
35 LDADD += libdrmtest.la
36
37 XFAIL_TESTS =                                   \
38         auth                                    \
39         lock
40
41 TESTS =                                         \
42         openclose                               \
43         getversion                              \
44         getclient                               \
45         getstats                                \
46         setversion                              \
47         updatedraw                              \
48         name_from_fd                            \
49         $(NULL)
50
51 SUBDIRS += vbltest $(NULL)
52
53 if HAVE_INTEL
54 TESTS +=                                        \
55         gem_basic                               \
56         gem_flink                               \
57         gem_readwrite                           \
58         gem_mmap                                \
59         $(NULL)
60 endif
61
62 check_PROGRAMS += $(TESTS)
63
64 endif