mirror of
https://github.com/jezhiggins/arabica
synced 2024-11-17 07:48:50 +01:00
added first cut at test target
This commit is contained in:
parent
c12723cfb7
commit
618371db52
6 changed files with 5 additions and 9 deletions
|
@ -37,6 +37,6 @@ pkgconfigdir = src/pkgconfig
|
|||
pkgconfig_DATA = arabica.pc
|
||||
|
||||
test:
|
||||
cd tests && make test;
|
||||
cd ..
|
||||
@cd tests && make test;
|
||||
@cd ..
|
||||
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue