summaryrefslogtreecommitdiffstats
path: root/test/Makefile.am
blob: b70a85d9b9505e46a81e93e15fbfc31ed6863952 (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
AM_CFLAGS = \
	$(GLOBAL_CFLAGS) \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/libcnary/include

AM_LDFLAGS =

noinst_PROGRAMS = \
	plist_cmp \
	plist_test \
	plist_btest \
	plist_jtest

plist_cmp_SOURCES = plist_cmp.c
plist_cmp_LDADD = \
	$(top_builddir)/src/libplist-2.0.la \
	$(top_builddir)/libcnary/libcnary.la

plist_test_SOURCES = plist_test.c
plist_test_LDADD = $(top_builddir)/src/libplist-2.0.la

plist_btest_SOURCES = plist_btest.c
plist_btest_LDADD = $(top_builddir)/src/libplist-2.0.la

plist_jtest_SOURCES = plist_jtest.c
plist_jtest_LDADD = $(top_builddir)/src/libplist-2.0.la

TESTS = \
	empty.test \
	small.test \
	medium.test \
	large.test \
	huge.test \
	bigarray.test \
	dates.test \
	timezone1.test \
	timezone2.test \
	signedunsigned1.test \
	signedunsigned2.test \
	signedunsigned3.test \
	hex.test \
	order.test \
	recursion.test \
	entities.test \
	empty_keys.test \
	amp.test \
	invalid_tag.test \
	cdata.test \
	offsetsize.test \
	refsize.test \
	malformed_dict.test \
	uid.test \
	json1.test \
	json2.test \
	json-invalid-types.test

EXTRA_DIST = \
	$(TESTS) \
	data/1.plist \
	data/2.plist \
	data/3.plist \
	data/4.plist \
	data/5.plist \
	data/6.plist \
	data/7.plist \
	data/amp.plist \
	data/cdata.plist \
	data/dictref1byte.bplist \
	data/dictref2bytes.bplist \
	data/dictref3bytes.bplist \
	data/dictref4bytes.bplist \
	data/dictref5bytes.bplist \
	data/dictref6bytes.bplist \
	data/dictref7bytes.bplist \
	data/dictref8bytes.bplist \
	data/empty_keys.plist \
	data/entities.plist \
	data/hex.plist \
	data/invalid_tag.plist \
	data/malformed_dict.bplist \
	data/off1byte.bplist \
	data/off2bytes.bplist \
	data/off3bytes.bplist \
	data/off4bytes.bplist \
	data/off5bytes.bplist \
	data/off6bytes.bplist \
	data/off7bytes.bplist \
	data/off8bytes.bplist \
	data/offxml.plist \
	data/order.bplist \
	data/order.plist \
	data/recursion.bplist \
	data/signed.bplist \
	data/signed.plist \
	data/signedunsigned.bplist \
	data/signedunsigned.plist \
	data/unsigned.bplist \
	data/unsigned.plist \
	data/uid.bplist \
	data/data.bplist \
	data/j1.plist

TESTS_ENVIRONMENT = \
	top_srcdir=$(top_srcdir) \
	top_builddir=$(top_builddir)

clean-local:
	if test -d $(top_builddir)/test/data; then cd $(top_builddir)/test/data && rm -f *.out *.bin *.xml; fi