summaryrefslogtreecommitdiff
path: root/test/Makefile.am
blob: 031b70e34ac046c99b493902acb41334e4ec33e3 (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
AM_CFLAGS = @OPENMP_CFLAGS@
AM_LDFLAGS = @OPENMP_CFLAGS@ @TESTPROGS_EXTRA_LDFLAGS@
LDADD = $(top_builddir)/pixman/libpixman-1.la -lm
INCLUDES = -I$(top_srcdir)/pixman -I$(top_builddir)/pixman

TESTPROGRAMS =			\
	a1-trap-test		\
	pdf-op-test		\
	region-test		\
	region-translate-test	\
	fetch-test		\
	oob-test		\
	trap-crasher		\
	alpha-loop		\
	scaling-crash-test	\
	scaling-helpers-test	\
	gradient-crash-test	\
	alphamap		\
	stress-test		\
	composite-traps-test	\
	blitters-test		\
	scaling-test		\
	affine-test		\
	composite		\
	pixmanorc		\
	ds

pdf_op_test_SOURCES = pdf-op-test.c utils.c utils.h
region_test_SOURCES = region-test.c utils.c utils.h
blitters_test_SOURCES = blitters-test.c utils.c utils.h
composite_traps_test_SOURCES = composite-traps-test.c utils.c utils.h

ds_LDADD = $(TEST_LDADD)
ds_SOURCES = ds.c ../pixman/tmp-orc.c

scaling_test_SOURCES = scaling-test.c utils.c utils.h
affine_test_SOURCES = affine-test.c utils.c utils.h
alphamap_SOURCES = alphamap.c utils.c utils.h
alpha_loop_SOURCES = alpha-loop.c utils.c utils.h
composite_SOURCES = composite.c utils.c utils.h
gradient_crash_test_SOURCES = gradient-crash-test.c utils.c utils.h
stress_test_SOURCES = stress-test.c utils.c utils.h
scaling_helpers_test_SOURCES = scaling-helpers-test.c utils.c utils.h

pixmanorc_LDADD = $(TEST_LDADD) -lorc-test-0.4
pixmanorc_SOURCES = pixmanorc.c

pixmanorc.c: $(top_srcdir)/pixman/pixman-orccode.orc
	$(ORCC) --test -o $@ $<

# Benchmarks

BENCHMARKS =			\
	lowlevel-blt-bench

lowlevel_blt_bench_SOURCES = lowlevel-blt-bench.c utils.c utils.h
INCLUDES += $(GTK_CFLAGS) $(ORC_CFLAGS)

noinst_PROGRAMS = $(TESTPROGRAMS) $(BENCHMARKS)

TESTS = $(TESTPROGRAMS)