OSDN Git Service

intel: add symbols test
[android-x86/external-libdrm.git] / tests / Makefile.am
1 SUBDIRS = modeprint proptest modetest
2
3 if HAVE_LIBKMS
4 SUBDIRS += kmstest
5 endif
6
7 if HAVE_RADEON
8 SUBDIRS += radeon
9 endif
10
11 if HAVE_EXYNOS
12 SUBDIRS += exynos
13 endif
14
15 if HAVE_TEGRA
16 SUBDIRS += tegra
17 endif
18
19 if HAVE_LIBUDEV
20 SUBDIRS += vbltest
21 endif
22
23 AM_CFLAGS = \
24         $(WARN_CFLAGS)\
25         -I $(top_srcdir)/include/drm \
26         -I $(top_srcdir)
27
28 LDADD = $(top_builddir)/libdrm.la
29
30 check_PROGRAMS = \
31         dristat \
32         drmstat
33
34 if HAVE_NOUVEAU
35 SUBDIRS += nouveau
36 endif
37
38 TESTS = \
39         drmsl \
40         hash \
41         random
42
43 if HAVE_LIBUDEV
44
45 check_LTLIBRARIES = libdrmtest.la
46
47 libdrmtest_la_SOURCES = \
48         drmtest.c \
49         drmtest.h
50
51 LDADD += \
52         libdrmtest.la \
53         $(LIBUDEV_LIBS)
54
55
56 XFAIL_TESTS =                                   \
57         auth                                    \
58         lock
59
60 TESTS +=                                        \
61         openclose                               \
62         getversion                              \
63         getclient                               \
64         getstats                                \
65         setversion                              \
66         updatedraw                              \
67         name_from_fd
68 endif
69
70 check_PROGRAMS += $(TESTS)