summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-12-17 18:02:42 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-12-17 18:02:42 +0000
commitca7ca6c2ce204bf2d64652a8170f37e83f1ea6a6 (patch)
tree66fa7579314b6af0c8b22ccf418306b9f246f18f /tests
parentc613c52c2796282a12918160b66632ef401d0374 (diff)
downloadlasso-ca7ca6c2ce204bf2d64652a8170f37e83f1ea6a6.tar.gz
lasso-ca7ca6c2ce204bf2d64652a8170f37e83f1ea6a6.tar.xz
lasso-ca7ca6c2ce204bf2d64652a8170f37e83f1ea6a6.zip
Isolated CFLAGS to be used when compiling Lasso in LASSO_CORE_CFLAGS; don't use
those when compiling tests in order to catch errors in headers. Also moved a few things in header files; need more thinking about that.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 8e2dabc9..bb853d52 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,14 +1,13 @@
if WITH_TESTS
TESTS = tests
-noinst_PROGRAMS = tests
+noinst_PROGRAMS = tests perfs minitests
INCLUDES = \
-DPACKAGE=\"@PACKAGE@\" \
-I$(top_srcdir) \
-I$(top_srcdir)/lasso \
-DTESTSDATADIR=\"$(srcdir)/data/\" \
- $(LASSO_DEFINES) \
$(LASSO_CFLAGS) \
$(CHECK_CFLAGS)
@@ -17,6 +16,13 @@ tests_LDADD = \
$(top_builddir)/lasso/liblasso.la \
$(LASSO_LIBS) \
$(CHECK_LIBS)
+
+perfs_SOURCES = perfs.c
+perfs_LDADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS)
+
+minitests_SOURCES = minitests.c
+minitests_LDADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS)
+
endif
EXTRA_DIST = tests.c login_tests.c basic_tests.c random_tests.c