projects
/
shibboleth
/
cpp-xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add unit tests for DateTime class.
[shibboleth/cpp-xmltooling.git]
/
xmltoolingtest
/
Makefile.am
diff --git
a/xmltoolingtest/Makefile.am
b/xmltoolingtest/Makefile.am
index
21ffe27
..
5698e75
100644
(file)
--- a/
xmltoolingtest/Makefile.am
+++ b/
xmltoolingtest/Makefile.am
@@
-1,29
+1,48
@@
AUTOMAKE_OPTIONS = foreign
if BUILD_UNITTEST
AUTOMAKE_OPTIONS = foreign
if BUILD_UNITTEST
+
bin_PROGRAMS = xmltoolingtest
bin_PROGRAMS = xmltoolingtest
-xmltoolingtest_CXXFLAGS = $(CXXFLAGS) $(CXXTESTFLAGS)
+xmltoolingtest_CXXFLAGS = $(CXXTESTFLAGS)
+if BUILD_XMLSEC
+xmltoolingtest_LDFLAGS = $(XMLSEC_LIBS)
+xmltoolingtest_LDADD = $(top_builddir)/xmltooling/libxmltooling.la
else
else
+xmltoolingtest_LDADD = $(top_builddir)/xmltooling/libxmltooling-lite.la
+endif
+
+else
+
bin_PROGRAMS =
bin_PROGRAMS =
+
endif
if BUILD_XMLSEC
xmlsec_sources = \
endif
if BUILD_XMLSEC
xmlsec_sources = \
+ EncryptionTest.h \
+ FilesystemCredentialResolverTest.h \
+ InlineKeyResolverTest.h \
+ MemoryStorageServiceTest.h \
+ SecurityHelperTest.h \
SignatureTest.h
else
xmlsec_sources =
endif
SignatureTest.h
else
xmlsec_sources =
endif
-noinst_HEADERS = \
- XMLObjectBaseTestCase.h \
+xmltoolingtest_h = \
ComplexXMLObjectTest.h \
ComplexXMLObjectTest.h \
+ DateTimeTest.h \
ExceptionTest.h \
KeyInfoTest.h \
MarshallingTest.h \
UnmarshallingTest.h \
ExceptionTest.h \
KeyInfoTest.h \
MarshallingTest.h \
UnmarshallingTest.h \
+ TemplateEngineTest.h \
xmltoolingtest.h \
${xmlsec_sources}
xmltoolingtest.h \
${xmlsec_sources}
+noinst_HEADERS = \
+ XMLObjectBaseTestCase.h
+
nodist_xmltoolingtest_SOURCES = $(xmltoolingtest_h:.h=.cpp)
CLEANFILES = $(nodist_xmltoolingtest_SOURCES)
nodist_xmltoolingtest_SOURCES = $(xmltoolingtest_h:.h=.cpp)
CLEANFILES = $(nodist_xmltoolingtest_SOURCES)
@@
-38,6
+57,4
@@
do-cxxtestgen:
$(nodist_xmltoolingtest_SOURCES): %.cpp: %.h
$(MAKE) do-cxxtestgen HFILE=$< CPPFILE=$@
$(nodist_xmltoolingtest_SOURCES): %.cpp: %.h
$(MAKE) do-cxxtestgen HFILE=$< CPPFILE=$@
-xmltoolingtest_LDADD = $(top_builddir)/xmltooling/libxmltooling.la
-
EXTRA_DIST = xmltoolingtest.vcproj $(xmltoolingtest_h) data
EXTRA_DIST = xmltoolingtest.vcproj $(xmltoolingtest_h) data