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

noinst_PROGRAMS = plist_cmp plist_test

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

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

TESTS = \
	empty.test \
	small.test \
	medium.test \
	large.test \
	huge.test \
	bigarray.test \
	emptycmp.test \
	smallcmp.test \
	mediumcmp.test \
	largecmp.test \
	hugecmp.test \
	bigarraycmp.test \
	timezone1.test \
	timezone2.test \
	signedunsigned1.test \
	signedunsigned2.test \
	hex.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/signed.plist data/signed.bplist data/unsigned.plist data/unsigned.bplist data/hex.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