blob: 003d96a23670757bf3e35296e1fa8f4896ad16e6 (
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
top_srcdir = ..
include $(top_srcdir)/build/Makefile.win32.common
CFLAGS += -I../src -I../boilerplate -I./pdiff
LDFLAGS += ./pdiff/pdiff.lib ../src/$(CFG)/cairo-static.lib $(PIXMAN_LIBS) ../boilerplate/$(CFG)/boiler.lib $(EXE_LDFLAGS)
TESTS = \
a8-mask \
caps-joins \
caps-joins-alpha \
caps-sub-paths \
clip-all \
clip-fill-rule \
clip-fill-rule-pixel-aligned \
clip-nesting \
clip-operator \
clip-twice \
composite-integer-translate-source \
composite-integer-translate-over \
composite-integer-translate-over-repeat \
create-for-stream \
create-from-png \
create-from-png-stream \
dash-caps-joins \
dash-no-dash \
dash-offset-negative \
dash-scale \
dash-zero-length \
degenerate-path \
device-offset \
device-offset-positive \
extend-pad \
extend-reflect \
fill-and-stroke \
fill-and-stroke-alpha \
fill-and-stroke-alpha-add \
fill-rule \
filter-nearest-offset \
font-face-get-type \
font-matrix-translation \
glyph-cache-pressure \
get-and-set \
get-clip \
get-group-target \
get-path-extents \
gradient-alpha \
leaky-dash \
leaky-polygon \
line-width \
line-width-scale \
linear-gradient \
mask \
mask-ctm \
mask-surface-ctm \
move-to-show-surface \
new-sub-path \
nil-surface \
operator-clear \
operator-source \
paint \
paint-source-alpha \
paint-with-alpha \
pattern-get-type \
pattern-getters \
pixman-rotate \
rectangle-rounding-error \
scale-source-surface-paint \
select-font-face \
select-font-no-show-text \
self-copy \
self-intersecting \
set-source \
show-text-current-point \
source-clip \
source-surface-scale-paint \
surface-finish-twice \
surface-pattern \
text-antialias-gray \
text-antialias-none \
text-antialias-subpixel \
text-cache-crash \
text-pattern \
text-rotate \
transforms \
translate-show-surface \
trap-clip \
unantialiased-shapes \
unbounded-operator \
user-data \
rel-path \
push-group \
zero-alpha \
$(NULL)
TESTCORE_SOURCES = \
cairo-test.c \
buffer-diff.c \
$(NULL)
TEST_EXE = $(patsubst %, $(CFG)/%.exe, $(TESTS))
# TEST_EXE = $(addsuffix .exe,$(TESTS))
all: $(TEST_EXE)
$(CFG)/%.exe: %.c ./pdiff/pdiff.lib
@mkdir -p $(CFG)
@$(CC) $(CFLAGS) -Fe"$@" $< $(TESTCORE_SOURCES) -link $(LDFLAGS)
./pdiff/pdiff.lib:
(cd pdiff ; $(MAKE) -f Makefile.win32)
test: $(TEST_EXE)
@for exe in $(TEST_EXE) ; do \
echo $$exe ; \
( ./$$exe || exit 0 ) ; \
done
html:
@echo Creating index.html...
@perl make-html.pl > index.html
|