libabigail/tests/Makefile.am
Dodji Seketeli 6831ba7c21 Support composing template type parameters
* src/abg-ir.h (class tmpl_parm_type_composition): New
	declaration.
	* src/abg-ir.cc
	(tmpl_parm_type_composition::tmpl_parm_type_composition)
	(tmpl_parm_type_composition::~tmpl_parm_type_composition): New
	definitions.
	* src/abg-reader.cc (build_tmpl_parm_type_composition): New
	function.
	(build_template_parameter): Support template parameter type
	composition.
	* src/abg-writer.cc (write_tmpl_parm_type_composition): New
	function.
	(write_template_non_type_parameter): Fix type-id attribute.
	(write_template_parameter): Support template parameter type
	composition.
	* tests/data/test-read-write/test13.xml: New test input.
	* tests/Makefile.am: Add it to the distribution.
	* tests/test-read-write.cc (InOutSpec in_out_spec): Add test13.xml
	to the list of xml file that are de-serialized and serialized back.
2013-07-23 23:13:50 +02:00

37 lines
989 B
Makefile

h=$(abs_srcdir)
TESTS=runtestreadwrite
noinst_PROGRAMS= $(TESTS)
noinst_LTLIBRARIES = libtestutils.la
libtestutils_la_SOURCES=\
$(h)/test-utils.h \
$(h)/test-utils.cc
libtestutils_la_CXXFLAGS= \
-DABIGAIL_SRC_DIR=\"${top_srcdir}\" \
-DABIGAIL_BUILD_DIR=\"${top_builddir}\"
runtestreadwrite_SOURCES=$(h)/test-read-write.cc
runtestreadwrite_LDADD=libtestutils.la $(top_builddir)/src/libabigail.la
AM_CPPFLAGS=-I${top_srcdir}/src
EXTRA_DIST= \
$(h)/data/test-read-write/test0.xml \
$(h)/data/test-read-write/test1.xml \
$(h)/data/test-read-write/test2.xml \
$(h)/data/test-read-write/test3.xml \
$(h)/data/test-read-write/test4.xml \
$(h)/data/test-read-write/test5.xml \
$(h)/data/test-read-write/test6.xml \
$(h)/data/test-read-write/test7.xml \
$(h)/data/test-read-write/test8.xml \
$(h)/data/test-read-write/test9.xml \
$(h)/data/test-read-write/test10.xml \
$(h)/data/test-read-write/test11.xml \
$(h)/data/test-read-write/test12.xml \
$(h)/data/test-read-write/test13.xml