summaryrefslogtreecommitdiff
path: root/server/src/Makefile.am
diff options
context:
space:
mode:
authordeva <deva>2009-07-30 12:56:38 +0000
committerdeva <deva>2009-07-30 12:56:38 +0000
commit1569827e40b9a622c818b806b3a19ab12ff04eb4 (patch)
tree188780ac10abeb4dbde58fa1d9935c0ce2dc2714 /server/src/Makefile.am
parent567f9e493f353ae2a607a62df38d176367040717 (diff)
More unit tests...
Diffstat (limited to 'server/src/Makefile.am')
-rw-r--r--server/src/Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/server/src/Makefile.am b/server/src/Makefile.am
index d797bc6..3bc3069 100644
--- a/server/src/Makefile.am
+++ b/server/src/Makefile.am
@@ -106,6 +106,7 @@ EXTRA_DIST = \
################
TESTFILES = \
+ test_configurationparser \
test_exception \
test_templateheaderparser \
test_macroheaderparser \
@@ -128,7 +129,7 @@ TESTFILES = \
TESTLOGS = `for F in ${TESTFILES}; do echo $$F.log; done`
BASICFILES = exception.cc log.cc debug.cc configuration.cc utf8.cc
-BASICFLAGS = -I.. -DHAVE_CONFIG_H
+BASICFLAGS = -I.. -DHAVE_CONFIG_H $(CONFIG_CXXFLAGS) $(CONFIG_LIBS)
PARSERFILES = saxparser.cc
PARSERFLAGS = -lexpat
@@ -142,6 +143,14 @@ test: $(TESTFILES)
test_clean:
rm -f $(TESTFILES) $(TESTLOGS)
+TEST_CONFIGURATIONPARSER_FILES = \
+ configurationparser.cc \
+ configuration.cc \
+ exception.cc \
+ log.cc
+test_configurationparser: $(TEST_CONFIGURATIONPARSER_FILES)
+ @../../tools/test $(TEST_CONFIGURATIONPARSER_FILES) $(BASICFLAGS)
+
TEST_EXCEPTION_FILES = \
exception.cc \
log.cc