added first cut at test target

This commit is contained in:
jez 2006-10-11 23:04:59 +00:00
parent c12723cfb7
commit 618371db52
6 changed files with 5 additions and 9 deletions

View file

@ -37,6 +37,6 @@ pkgconfigdir = src/pkgconfig
pkgconfig_DATA = arabica.pc
test:
cd tests && make test;
cd ..
@cd tests && make test;
@cd ..

View file

@ -52,7 +52,7 @@ dom_test_wide_LDADD = $(LIBARABICA)
INCLUDES = -I$(top_srcdir)/include $(PARSER_HEADERS) $(BOOST_CPPFLAGS)
test:
test: $(bin_PROGRAMS)
@for p in $(bin_PROGRAMS); do \
echo Running $$p; \
./$$p -q; \

View file

@ -34,7 +34,7 @@ sax2dom_test_LDADD = $(LIBARABICA)
INCLUDES = -I$(top_srcdir)/include $(PARSER_HEADERS) $(BOOST_CPPFLAGS)
test:
test: $(bin_PROGRAMS)
@for p in $(bin_PROGRAMS); do \
echo Running $$p; \
./$$p -q; \

View file

@ -54,7 +54,7 @@ xpath_test_wide_LDADD = $(LIBARABICA)
INCLUDES = -I$(top_srcdir)/include $(PARSER_HEADERS) $(BOOST_CPPFLAGS)
test:
test: $(bin_PROGRAMS)
@for p in $(bin_PROGRAMS); do \
echo Running $$p; \
./$$p -q; \

View file

@ -9,8 +9,6 @@
/////////////////////////////////////////
int main(int argc, const char** argv)
{
std::cout << "Hello" << std::endl;
XPath_test_suite<std::string, Arabica::default_string_adaptor<std::string> >(argc, argv);
} // main

View file

@ -18,8 +18,6 @@ template<> class default_string_adaptor<silly_string> : public silly_string_adap
/////////////////////////////////////////
int main(int argc, const char** argv)
{
std::cout << "Hello" << std::endl;
XPath_test_suite<silly_string, Arabica::default_string_adaptor<silly_string> >(argc, argv);
} // main