summaryrefslogtreecommitdiff
path: root/test/Makefile.am
blob: 66ed8ebb06d69568a48c04f978e57355d7965306 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
stress_TESTS = \
	basic-fillrect \
	basic-tiledrect \
	basic-stippledrect \
	basic-rectangle \
	basic-string \
	basic-copyarea \
	basic-copyarea-size \
	basic-putimage \
	basic-lines \
	basic-stress \
	DrawSegments \
	cursor-test \
	render-fill \
	render-trapezoid \
	render-trapezoid-image \
	render-fill-copy \
	render-composite-solid \
	render-composite-solid-mask \
	render-copyarea \
	render-copyarea-mask \
	render-copyarea-size \
	render-copy-alphaless \
	mixed-stress \
	shm-test \
	$(NULL)

if DRI2
stress_TESTS += \
	dri2-race \
	dri2-swap \
	dri2-test \
	$(NULL)
endif

if X11_DRI3
stress_TESTS += \
	dri3-test \
	present-test \
	$(NULL)
endif
check_PROGRAMS = $(stress_TESTS)

noinst_PROGRAMS = lowlevel-blt-bench

AM_CFLAGS = @CWARNFLAGS@ $(X11_CFLAGS) $(DRM_CFLAGS)
LDADD = libtest.la $(X11_LIBS) $(DRM_LIBS) $(CLOCK_GETTIME_LIBS)

noinst_LTLIBRARIES = libtest.la
libtest_la_SOURCES = \
	test.h \
	test_display.c \
	test_image.c \
	test_log.c \
	test_render.c \
	$(NULL)

if DRI2
libtest_la_SOURCES += \
	dri2.c \
	dri2.h \
	$(NULL)
endif

if X11_DRI3
libtest_la_SOURCES += \
	dri3.c \
	dri3.h \
	$(NULL)
AM_CFLAGS += $(X11_DRI3_CFLAGS)
LDADD += $(X11_DRI3_LIBS)
endif

vsync.avi: mkvsync.sh
	./mkvsync.sh $@

clean-vsync-avi:
	rm -rf vsync.avi .build.tmp

EXTRA_DIST = README mkvsync.sh tearing.mp4 virtual.conf
clean-local: clean-vsync-avi