ipptest: add fimc and rotator test applications
[platform/upstream/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_EXYNOS
24 SUBDIRS += exynos
25 SUBDIRS += ipptest
26 SUBDIRS += rottest
27 endif
28
29 if HAVE_LIBUDEV
30
31 check_LTLIBRARIES = libdrmtest.la
32
33 libdrmtest_la_SOURCES = \
34         drmtest.c \
35         drmtest.h
36
37 libdrmtest_la_LIBADD = \
38         $(top_builddir)/libdrm.la \
39         $(LIBUDEV_LIBS)
40
41 LDADD += libdrmtest.la
42
43 XFAIL_TESTS =                                   \
44         auth                                    \
45         lock
46
47 TESTS =                                         \
48         openclose                               \
49         getversion                              \
50         getclient                               \
51         getstats                                \
52         setversion                              \
53         updatedraw                              \
54         name_from_fd                            \
55         $(NULL)
56
57 SUBDIRS += vbltest $(NULL)
58
59 if HAVE_INTEL
60 TESTS +=                                        \
61         gem_basic                               \
62         gem_flink                               \
63         gem_readwrite                           \
64         gem_mmap                                \
65         $(NULL)
66 endif
67
68 check_PROGRAMS += $(TESTS)
69
70 endif