2006-09-12 23:21:48 +02:00
|
|
|
|
2007-08-29 04:03:12 +02:00
|
|
|
check_PROGRAMS = xpath_test xpath_test_silly
|
2006-09-19 23:05:25 +02:00
|
|
|
if HAS_STD_WSTRING
|
2007-08-29 04:03:12 +02:00
|
|
|
check_PROGRAMS += xpath_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
|
2006-09-12 23:21:48 +02:00
|
|
|
|
|
|
|
test_sources = arithmetic_test.hpp \
|
|
|
|
attr_value_test.hpp \
|
|
|
|
axis_enumerator_test.hpp \
|
|
|
|
execute_test.hpp \
|
|
|
|
expression_test.hpp \
|
|
|
|
logical_test.hpp \
|
|
|
|
match_test.hpp \
|
|
|
|
node_test_test.hpp \
|
|
|
|
parse_test.hpp \
|
|
|
|
relational_test.hpp \
|
|
|
|
step_test.hpp \
|
|
|
|
value_test.hpp \
|
|
|
|
xpath_test_suite.hpp
|
|
|
|
|
2007-08-29 04:03:12 +02:00
|
|
|
xpath_test_SOURCES = main.cpp \
|
|
|
|
$(test_sources)
|
|
|
|
xpath_test_LDADD = $(TESTLIBS)
|
|
|
|
xpath_test_DEPENDENCIES = $(TESTLIBS)
|
2006-09-12 23:21:48 +02:00
|
|
|
|
2007-08-29 04:03:12 +02:00
|
|
|
xpath_test_silly_SOURCES = main_silly.cpp \
|
|
|
|
$(test_sources)
|
|
|
|
xpath_test_silly_LDADD = $(TESTLIBS) $(LIBSILLY)
|
|
|
|
xpath_test_silly_DEPENDENCIES = $(TESTLIBS) $(LIBSILLY)
|
2006-09-12 23:21:48 +02:00
|
|
|
|
2007-08-29 04:03:12 +02:00
|
|
|
xpath_test_wide_SOURCES = main_wide.cpp \
|
|
|
|
$(test_sources)
|
|
|
|
xpath_test_wide_LDADD = $(TESTLIBS)
|
|
|
|
xpath_test_wide_DEPENDENCIES = $(TESTLIBS)
|
2006-09-12 23:21:48 +02:00
|
|
|
|