2007-07-19 18:57:04 +02:00
|
|
|
|
2007-08-29 04:03:12 +02:00
|
|
|
check_PROGRAMS = utils_test utils_test_silly
|
2007-07-19 18:57:04 +02:00
|
|
|
if HAS_STD_WSTRING
|
2007-08-29 04:03:12 +02:00
|
|
|
check_PROGRAMS += utils_test_wide
|
2007-07-19 18:57:04 +02:00
|
|
|
endif
|
2008-08-07 19:56:02 +02:00
|
|
|
if WANT_TESTS
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
endif
|
2007-07-19 18:57:04 +02:00
|
|
|
|
2008-05-04 16:42:09 +02:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include @PARSER_HEADERS@ $(BOOST_CPPFLAGS)
|
2007-07-19 18:57:04 +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
|
2007-07-19 18:57:04 +02:00
|
|
|
|
|
|
|
test_sources = util_test_suite.hpp \
|
2007-08-28 03:57:39 +02:00
|
|
|
test_normalize_whitespace.hpp \
|
2008-05-04 16:42:09 +02:00
|
|
|
test_xml_strings.hpp \
|
2007-07-19 18:57:04 +02:00
|
|
|
test_base64.hpp \
|
2009-03-13 21:24:36 +01:00
|
|
|
test_uri.hpp \
|
2009-03-12 14:21:48 +01:00
|
|
|
test_qname.hpp
|
2007-07-19 18:57:04 +02:00
|
|
|
|
|
|
|
utils_test_SOURCES = utils_test.cpp \
|
2007-08-29 04:03:12 +02:00
|
|
|
$(test_sources)
|
|
|
|
utils_test_LDADD = $(TESTLIBS)
|
|
|
|
utils_test_DEPENDENCIES = $(TESTLIBS)
|
|
|
|
|
|
|
|
utils_test_silly_SOURCES = utils_test_silly.cpp \
|
|
|
|
$(test_sources)
|
|
|
|
utils_test_silly_LDADD = $(TESTLIBS) $(LIBSILLY)
|
|
|
|
utils_test_silly_DEPENDENCIES = $(TESTLIBS) $(LIBSILLY)
|
|
|
|
|
|
|
|
utils_test_wide_SOURCES = utils_test_wide.cpp \
|
|
|
|
$(test_sources)
|
|
|
|
utils_test_wide_LDADD = $(TESTLIBS)
|
|
|
|
utils_test_wide_DEPENDENCIES = $(TESTLIBS)
|
2007-07-19 18:57:04 +02:00
|
|
|
|