mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-14 19:18:09 +02:00
This adds the following basic unit tests: - etnaviv_2d_test Let the 2D core render a defined pattern into a bo and store it as bmp. - etnaviv_bo_cache_test Basic tests to validate the bo-cache behavior. - etnaviv_cmd_stream_test Tests for the etna_cmd_stream API. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
79 lines
936 B
Makefile
79 lines
936 B
Makefile
SUBDIRS = util kms modeprint proptest modetest vbltest
|
|
|
|
if HAVE_LIBKMS
|
|
SUBDIRS += kmstest
|
|
endif
|
|
|
|
if HAVE_RADEON
|
|
SUBDIRS += radeon
|
|
endif
|
|
|
|
if HAVE_AMDGPU
|
|
if HAVE_CUNIT
|
|
SUBDIRS += amdgpu
|
|
endif
|
|
endif
|
|
|
|
if HAVE_EXYNOS
|
|
SUBDIRS += exynos
|
|
endif
|
|
|
|
if HAVE_TEGRA
|
|
SUBDIRS += tegra
|
|
endif
|
|
|
|
if HAVE_ETNAVIV
|
|
SUBDIRS += etnaviv
|
|
endif
|
|
|
|
AM_CFLAGS = \
|
|
$(WARN_CFLAGS)\
|
|
-I $(top_srcdir)/include/drm \
|
|
-I $(top_srcdir)
|
|
|
|
LDADD = $(top_builddir)/libdrm.la
|
|
|
|
check_PROGRAMS = \
|
|
dristat \
|
|
drmdevice \
|
|
drmstat
|
|
|
|
dristat_LDADD = -lm
|
|
|
|
if HAVE_NOUVEAU
|
|
SUBDIRS += nouveau
|
|
endif
|
|
|
|
TESTS = \
|
|
drmsl \
|
|
hash \
|
|
random
|
|
|
|
if HAVE_LIBUDEV
|
|
|
|
check_LTLIBRARIES = libdrmtest.la
|
|
|
|
libdrmtest_la_SOURCES = \
|
|
drmtest.c \
|
|
drmtest.h
|
|
|
|
LDADD += \
|
|
libdrmtest.la \
|
|
$(LIBUDEV_LIBS)
|
|
|
|
|
|
XFAIL_TESTS = \
|
|
auth \
|
|
lock
|
|
|
|
TESTS += \
|
|
openclose \
|
|
getversion \
|
|
getclient \
|
|
getstats \
|
|
setversion \
|
|
updatedraw \
|
|
name_from_fd
|
|
endif
|
|
|
|
check_PROGRAMS += $(TESTS)
|