2006-09-12 23:21:48 +02:00
|
|
|
|
2007-08-29 04:03:12 +02:00
|
|
|
check_PROGRAMS = dom_test dom_test_silly
|
2006-09-19 23:05:25 +02:00
|
|
|
if HAS_STD_WSTRING
|
2007-08-29 04:03:12 +02:00
|
|
|
check_PROGRAMS += dom_test_wide
|
2006-09-19 23:05:25 +02:00
|
|
|
endif
|
2008-08-07 19:56:02 +02:00
|
|
|
if WANT_TESTS
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
endif
|
|
|
|
|
2006-09-12 23:21:48 +02:00
|
|
|
|
2008-05-04 16:42:09 +02:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include @PARSER_HEADERS@ $(BOOST_CPPFLAGS)
|
2006-09-12 23:21:48 +02:00
|
|
|
LIBARABICA = $(top_builddir)/src/libarabica.la
|
2007-08-29 04:03:12 +02:00
|
|
|
LIBSILLY = ../CppUnit/libsillystring.la
|
|
|
|
TESTLIBS = $(LIBARABICA) ../CppUnit/libcppunit.la
|
2011-11-25 19:47:54 +01:00
|
|
|
SYSLIBS = @PARSER_LIBS@
|
2006-09-12 23:21:48 +02:00
|
|
|
|
|
|
|
test_sources = dom_test_suite.hpp \
|
2010-12-09 15:50:38 +01:00
|
|
|
dom_conf_test.hpp \
|
2007-09-11 11:25:18 +02:00
|
|
|
test_Attribute.hpp \
|
2007-08-29 04:03:12 +02:00
|
|
|
test_CDATA.hpp \
|
|
|
|
test_CharacterData.hpp \
|
2007-09-11 11:25:18 +02:00
|
|
|
test_DOMImplementation.hpp \
|
|
|
|
test_Document.hpp \
|
|
|
|
test_DocumentFragment.hpp \
|
|
|
|
test_DocumentType.hpp \
|
|
|
|
test_Element.hpp \
|
2010-01-14 10:11:45 +01:00
|
|
|
test_NamedNodeMap.hpp \
|
2007-09-11 11:25:18 +02:00
|
|
|
test_ProcessingInstruction.hpp \
|
|
|
|
test_Siblings.hpp \
|
2007-08-29 04:03:12 +02:00
|
|
|
test_Text.hpp \
|
|
|
|
test_SAX2DOM.hpp \
|
2010-07-14 10:08:46 +02:00
|
|
|
test_TreeWalker.hpp \
|
|
|
|
test_Stream.hpp
|
2007-08-29 04:03:12 +02:00
|
|
|
|
|
|
|
dom_test_SOURCES = main.cpp \
|
2010-12-09 15:50:38 +01:00
|
|
|
$(test_sources)
|
2011-11-25 19:47:54 +01:00
|
|
|
dom_test_LDADD = $(TESTLIBS) $(SYSLIBS)
|
2007-08-29 04:03:12 +02:00
|
|
|
dom_test_DEPENDENCIES = $(TESTLIBS)
|
|
|
|
|
|
|
|
dom_test_silly_SOURCES = main_silly.cpp \
|
|
|
|
$(test_sources)
|
2011-11-25 19:47:54 +01:00
|
|
|
dom_test_silly_LDADD = $(TESTLIBS) $(LIBSILLY) $(SYSLIBS)
|
2007-08-29 04:03:12 +02:00
|
|
|
dom_test_silly_DEPENDENCIES = $(TESTLIBS) $(LIBSILLY)
|
|
|
|
|
|
|
|
dom_test_wide_SOURCES = main_wide.cpp \
|
|
|
|
$(test_sources)
|
2011-11-25 19:47:54 +01:00
|
|
|
dom_test_wide_LDADD = $(TESTLIBS) $(SYSLIBS)
|
2007-08-29 04:03:12 +02:00
|
|
|
dom_test_wide_DEPENDENCIES = $(TESTLIBS)
|
|
|
|
|
2006-10-12 00:51:04 +02:00
|
|
|
|