~mmach/netext73/xorg-intel

« back to all changes in this revision

Viewing changes to test/Makefile.am

  • Committer: mmach
  • Date: 2021-03-17 18:24:35 UTC
  • Revision ID: netbit73@gmail.com-20210317182435-7okt04d35etrqgqp
lipiec

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
stress_TESTS = \
 
2
        basic-fillrect \
 
3
        basic-tiledrect \
 
4
        basic-stippledrect \
 
5
        basic-rectangle \
 
6
        basic-string \
 
7
        basic-copyarea \
 
8
        basic-copyplane \
 
9
        basic-copyarea-size \
 
10
        basic-putimage \
 
11
        basic-lines \
 
12
        basic-stress \
 
13
        DrawSegments \
 
14
        cursor-test \
 
15
        render-fill \
 
16
        render-glyphs \
 
17
        render-trapezoid \
 
18
        render-trapezoid-image \
 
19
        render-triangle \
 
20
        render-fill-copy \
 
21
        render-composite-solid \
 
22
        render-composite-solid-mask \
 
23
        render-copyarea \
 
24
        render-copyarea-mask \
 
25
        render-copyarea-size \
 
26
        render-copy-alphaless \
 
27
        mixed-stress \
 
28
        shm-test \
 
29
        $(NULL)
 
30
 
 
31
if X11_VM
 
32
stress_TESTS += \
 
33
        xvidmode \
 
34
        $(NULL)
 
35
endif
 
36
 
 
37
if DRI2
 
38
stress_TESTS += \
 
39
        dri2-race \
 
40
        dri2-speed \
 
41
        dri2-swap \
 
42
        dri2-test \
 
43
        $(NULL)
 
44
endif
 
45
 
 
46
if X11_DRI3
 
47
stress_TESTS += \
 
48
        dri3-test \
 
49
        present-race \
 
50
        present-speed \
 
51
        present-test \
 
52
        $(NULL)
 
53
present_speed_CFLAGS = ${AM_CFLAGS} -pthread
 
54
endif
 
55
check_PROGRAMS = $(stress_TESTS)
 
56
 
 
57
noinst_PROGRAMS = lowlevel-blt-bench
 
58
 
 
59
AM_CFLAGS = @CWARNFLAGS@ $(X11_CFLAGS) $(DRM_CFLAGS)
 
60
LDADD = libtest.la $(X11_LIBS) $(DRM_LIBS) $(CLOCK_GETTIME_LIBS)
 
61
 
 
62
noinst_LTLIBRARIES = libtest.la
 
63
libtest_la_SOURCES = \
 
64
        test.h \
 
65
        test_display.c \
 
66
        test_image.c \
 
67
        test_log.c \
 
68
        test_render.c \
 
69
        $(NULL)
 
70
 
 
71
if DRI2
 
72
libtest_la_SOURCES += \
 
73
        dri2.c \
 
74
        dri2.h \
 
75
        $(NULL)
 
76
endif
 
77
 
 
78
if X11_DRI3
 
79
libtest_la_SOURCES += \
 
80
        dri3.c \
 
81
        dri3.h \
 
82
        $(NULL)
 
83
AM_CFLAGS += $(X11_DRI3_CFLAGS)
 
84
LDADD += $(X11_DRI3_LIBS)
 
85
endif
 
86
 
 
87
vsync.avi: mkvsync.sh
 
88
        ./mkvsync.sh $@
 
89
 
 
90
clean-vsync-avi:
 
91
        rm -rf vsync.avi .build.tmp
 
92
 
 
93
EXTRA_DIST = README mkvsync.sh tearing.mp4 virtual.conf
 
94
clean-local: clean-vsync-avi