summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
blob: 421a4d623bc99cb97a5770d846f28a22c7c827cd (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
MAINTAINERCLEANFILES = Makefile.in
if WITH_TESTS

TESTS = tests
noinst_PROGRAMS = tests perfs

INCLUDES = \
	-DPACKAGE=\"@PACKAGE@\" \
	-I$(top_builddir) \
	-I$(top_srcdir) \
	-DTESTSDATADIR=\"$(srcdir)/data/\" \
	-DTESTSMETADATADIR=\"$(srcdir)/metadata/\" \
	$(LASSO_CFLAGS) \
	$(CHECK_CFLAGS)

tests_SOURCES = tests.c login_tests.c basic_tests.c random_tests.c metadata_tests.c
tests_LDADD = \
	$(top_builddir)/lasso/liblasso.la \
	$(LASSO_LIBS) \
	$(CHECK_LIBS)

perfs_SOURCES = perfs.c
perfs_LDADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS)

endif

EXTRA_DIST = tests.c login_tests.c basic_tests.c random_tests.c metadata_tests.c

SUBDIRS = data metadata

CLEANFILES = result.xml