diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-05-03 15:21:49 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-05-03 15:21:49 (GMT) |
commit | 4b8453f0303492a1de2dcf854555f6429fac550e (patch) | |
tree | 54abb57f4c5191452cadcac2f12feacbfc1f3218 /libxslt/tests/xinclude | |
parent | 7617e7a38edce33eab6ca4259b416b339e07ea29 (diff) | |
download | blt-4b8453f0303492a1de2dcf854555f6429fac550e.zip blt-4b8453f0303492a1de2dcf854555f6429fac550e.tar.gz blt-4b8453f0303492a1de2dcf854555f6429fac550e.tar.bz2 |
reinstall libxml2/libxslt
Diffstat (limited to 'libxslt/tests/xinclude')
-rw-r--r-- | libxslt/tests/xinclude/Makefile.am | 33 | ||||
-rw-r--r-- | libxslt/tests/xinclude/e.xml | 2 | ||||
-rw-r--r-- | libxslt/tests/xinclude/e.xsl | 14 | ||||
-rw-r--r-- | libxslt/tests/xinclude/normal.out | 5 | ||||
-rw-r--r-- | libxslt/tests/xinclude/x1.xml | 5 | ||||
-rw-r--r-- | libxslt/tests/xinclude/x2.xml | 4 | ||||
-rw-r--r-- | libxslt/tests/xinclude/xinclude.out | 7 |
7 files changed, 0 insertions, 70 deletions
diff --git a/libxslt/tests/xinclude/Makefile.am b/libxslt/tests/xinclude/Makefile.am deleted file mode 100644 index 3562454..0000000 --- a/libxslt/tests/xinclude/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -## Process this file with automake to produce Makefile.in - -$(top_builddir)/xsltproc/xsltproc: - @(cd ../../xsltproc ; $(MAKE) xsltproc) - -EXTRA_DIST = \ - e.xml \ - e.xsl \ - x1.xml \ - x2.xml \ - normal.out \ - xinclude.out - -CLEANFILES = .memdump - -valgrind: - @echo '## Running the regression tests under Valgrind' - $(MAKE) CHECKER='libtool --mode=execute valgrind -q --leak-check=full' tests - -test tests: $(top_builddir)/xsltproc/xsltproc - @echo '## Running XInclude test' - @(echo > .memdump) - @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/e.xsl $(srcdir)/e.xml > res ; \ - diff $(srcdir)/normal.out res; \ - grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true;\ - rm -f res) - @($(CHECKER) $(top_builddir)/xsltproc/xsltproc --xinclude $(srcdir)/e.xsl $(srcdir)/e.xml > res ; \ - diff $(srcdir)/xinclude.out res; \ - grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true;\ - rm -f res) - - - diff --git a/libxslt/tests/xinclude/e.xml b/libxslt/tests/xinclude/e.xml deleted file mode 100644 index a3ab387..0000000 --- a/libxslt/tests/xinclude/e.xml +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0"?> -<e/> diff --git a/libxslt/tests/xinclude/e.xsl b/libxslt/tests/xinclude/e.xsl deleted file mode 100644 index eb56f0f..0000000 --- a/libxslt/tests/xinclude/e.xsl +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -version="1.0"> - - <xsl:template match="/"> - <xsl:apply-templates select="document('x1.xml')/foo"/> - </xsl:template> - - <xsl:template match="*|@*|text()"> - <xsl:copy><xsl:apply-templates select="*|@*| -text()" /></xsl:copy> - </xsl:template> - -</xsl:stylesheet> diff --git a/libxslt/tests/xinclude/normal.out b/libxslt/tests/xinclude/normal.out deleted file mode 100644 index b7f37c0..0000000 --- a/libxslt/tests/xinclude/normal.out +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0"?> -<foo> - <element>x1</element> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x2.xml"/> -</foo> diff --git a/libxslt/tests/xinclude/x1.xml b/libxslt/tests/xinclude/x1.xml deleted file mode 100644 index a64b15b..0000000 --- a/libxslt/tests/xinclude/x1.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0"?> -<foo> - <element>x1</element> - <xi:include href="x2.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> -</foo> diff --git a/libxslt/tests/xinclude/x2.xml b/libxslt/tests/xinclude/x2.xml deleted file mode 100644 index 6a319d1..0000000 --- a/libxslt/tests/xinclude/x2.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<foo> - <element>x2</element> -</foo> diff --git a/libxslt/tests/xinclude/xinclude.out b/libxslt/tests/xinclude/xinclude.out deleted file mode 100644 index 046d0db..0000000 --- a/libxslt/tests/xinclude/xinclude.out +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0"?> -<foo> - <element>x1</element> - <foo> - <element>x2</element> -</foo> -</foo> |