diff options
author | deva <deva> | 2009-07-30 10:17:35 +0000 |
---|---|---|
committer | deva <deva> | 2009-07-30 10:17:35 +0000 |
commit | ed33082fd43cf88f5edb2509f4abcd847bb6841a (patch) | |
tree | 0e145008877c6ad59c8bb33288b0c02a2926cd6e /server/src/Makefile.am | |
parent | fca987525e5b6db7b4387f694122598f0a586576 (diff) |
Added unit tests for MacroHeaderParser and TemplateHeaderParser.
Diffstat (limited to 'server/src/Makefile.am')
-rw-r--r-- | server/src/Makefile.am | 34 |
1 files changed, 25 insertions, 9 deletions
diff --git a/server/src/Makefile.am b/server/src/Makefile.am index c8e1c51..2276347 100644 --- a/server/src/Makefile.am +++ b/server/src/Makefile.am @@ -106,6 +106,8 @@ EXTRA_DIST = \ ################ TESTFILES = \ + test_templateheaderparser \ + test_macroheaderparser \ test_templatelist \ test_saxparser \ test_transactionparser \ @@ -139,6 +141,20 @@ test: $(TESTFILES) test_clean: rm -f $(TESTFILES) $(TESTLOGS) +TEST_TEMPLATEHEADERPARSER_FILES = \ + templateheaderparser.cc \ + $(PARSERFILES) \ + $(BASICFILES) +test_templateheaderparser: $(TEST_TEMPLATEHEADERPARSER_FILES) + @../../tools/test $(TEST_TEMPLATEHEADERPARSER_FILES) $(BASICFLAGS) $(PARSERFLAGS) + +TEST_MACROHEADERPARSER_FILES = \ + macroheaderparser.cc \ + $(PARSERFILES) \ + $(BASICFILES) +test_macroheaderparser: $(TEST_MACROHEADERPARSER_FILES) + @../../tools/test $(TEST_MACROHEADERPARSER_FILES) $(BASICFLAGS) $(PARSERFLAGS) + TEST_TEMPLATELIST_FILES = \ templatelist.cc \ versionstr.cc \ @@ -148,6 +164,15 @@ TEST_TEMPLATELIST_FILES = \ test_templatelist: $(TEST_TEMPLATELIST_FILES) @../../tools/test $(TEST_TEMPLATELIST_FILES) $(PARSERFLAGS) $(BASICFLAGS) +TEST_MACROLIST_FILES = \ + macrolist.cc \ + versionstr.cc \ + macroheaderparser.cc \ + $(PARSERFILES) \ + $(BASICFILES) +test_macrolist: $(TEST_MACROLIST_FILES) + @../../tools/test $(TEST_MACROLIST_FILES) $(PARSERFLAGS) $(BASICFLAGS) + TEST_SAXPARSER_FILES = \ saxparser.cc \ $(BASICFILES) @@ -167,15 +192,6 @@ TEST_VERSIONSTR_FILES = \ test_versionstr: $(TEST_VERSIONSTR_FILES) @../../tools/test $(TEST_VERSIONSTR_FILES) $(BASICFLAGS) -TEST_MACROLIST_FILES = \ - macrolist.cc \ - versionstr.cc \ - macroheaderparser.cc \ - $(PARSERFILES) \ - $(BASICFILES) -test_macrolist: $(TEST_MACROLIST_FILES) - @../../tools/test $(TEST_MACROLIST_FILES) $(PARSERFLAGS) $(BASICFLAGS) - TEST_QUERYHANDLERPENTOMINOS_FILES = \ queryhandlerpentominos.cc \ tcpsocket.cc \ |