summaryrefslogtreecommitdiffstats
path: root/libxslt/tests/exslt/dynamic
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-11-17 21:20:33 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-11-17 21:20:33 (GMT)
commit8d530e150d787e9a74e27592d4e67a496cd922da (patch)
tree654bad0c60b323298447897b79abd7bd9ce8f3c7 /libxslt/tests/exslt/dynamic
parent8096d34300076a1aa9cb517de49fb920a051939f (diff)
downloadblt-8d530e150d787e9a74e27592d4e67a496cd922da.zip
blt-8d530e150d787e9a74e27592d4e67a496cd922da.tar.gz
blt-8d530e150d787e9a74e27592d4e67a496cd922da.tar.bz2
local fork libxslt
Diffstat (limited to 'libxslt/tests/exslt/dynamic')
-rw-r--r--libxslt/tests/exslt/dynamic/Makefile.am46
-rw-r--r--libxslt/tests/exslt/dynamic/dynmap.out44
-rw-r--r--libxslt/tests/exslt/dynamic/dynmap.xml29
-rw-r--r--libxslt/tests/exslt/dynamic/dynmap.xsl27
4 files changed, 0 insertions, 146 deletions
diff --git a/libxslt/tests/exslt/dynamic/Makefile.am b/libxslt/tests/exslt/dynamic/Makefile.am
deleted file mode 100644
index 84ebb5f..0000000
--- a/libxslt/tests/exslt/dynamic/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
-## Process this file with automake to produce Makefile.in
-
-$(top_builddir)/xsltproc/xsltproc:
- @(cd ../../../xsltproc ; $(MAKE) xsltproc)
-
-EXTRA_DIST = \
- dynmap.out dynmap.xml dynmap.xsl
-
-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 exslt dynamic tests'
- @(echo > .memdump)
- @(for i in $(srcdir)/*.xsl ; do \
- name=`basename $$i .xsl` ; \
- if [ ! -f $(srcdir)/$$name.xml ] ; then continue ; fi ; \
- log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
- $(srcdir)/$$name.xsl $(srcdir)/$$name.xml > $$name.res 2>$$name.bad;\
- if [ ! -f $(srcdir)/$$name.out ] ; then \
- cp $$name.res $(srcdir)/$$name.out ; \
- if [ -s $$name.bad ] ; then \
- mv $$name.bad $(srcdir)/$$name.err ; \
- fi ; \
- else \
- if [ ! -s $$name.res ] ; then \
- echo "Fatal error, no $$name.res\n" ; \
- else \
- diff $(srcdir)/$$name.out $$name.res ; \
- if [ -s $(srcdir)/$$name.err ] ; then \
- diff $(srcdir)/$$name.err $$name.bad; \
- else \
- diff /dev/null $$name.bad; \
- fi ; \
- fi ; \
- fi; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`;\
- if [ -n "$$log" ] ; then \
- echo $$name result ; \
- echo "$$log" ; \
- fi ; \
- rm -f $$name.res $$name.bad ; \
- done)
diff --git a/libxslt/tests/exslt/dynamic/dynmap.out b/libxslt/tests/exslt/dynamic/dynmap.out
deleted file mode 100644
index 7a900ca..0000000
--- a/libxslt/tests/exslt/dynamic/dynmap.out
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0"?>
-<result>
- <node-set>
- <childNode2>bbbb</childNode2>
- <childNode4>dddd</childNode4>
- <childNode6>ffff</childNode6>
- <childNode8>hhhh</childNode8>
- <childNode1>jjjj</childNode1>
- <childNode3>llll</childNode3>
- <childNode5>nnnn</childNode5>
- <childNode7>pppp</childNode7>
- <childNode9>rrrr</childNode9>
- </node-set>
- <boolean>
- <exsl:boolean xmlns:exsl="http://exslt.org/common">true</exsl:boolean>
- <exsl:boolean xmlns:exsl="http://exslt.org/common">true</exsl:boolean>
- <exsl:boolean xmlns:exsl="http://exslt.org/common">true</exsl:boolean>
- <exsl:boolean xmlns:exsl="http://exslt.org/common">true</exsl:boolean>
- <exsl:boolean xmlns:exsl="http://exslt.org/common">true</exsl:boolean>
- <exsl:boolean xmlns:exsl="http://exslt.org/common">true</exsl:boolean>
- <exsl:boolean xmlns:exsl="http://exslt.org/common">true</exsl:boolean>
- </boolean>
- <number>
- <exsl:number xmlns:exsl="http://exslt.org/common">9</exsl:number>
- <exsl:number xmlns:exsl="http://exslt.org/common">0</exsl:number>
- <exsl:number xmlns:exsl="http://exslt.org/common">0</exsl:number>
- <exsl:number xmlns:exsl="http://exslt.org/common">0</exsl:number>
- <exsl:number xmlns:exsl="http://exslt.org/common">0</exsl:number>
- <exsl:number xmlns:exsl="http://exslt.org/common">0</exsl:number>
- <exsl:number xmlns:exsl="http://exslt.org/common">9</exsl:number>
- </number>
- <string>
- <exsl:string xmlns:exsl="http://exslt.org/common">with-child</exsl:string>
- <exsl:string xmlns:exsl="http://exslt.org/common">without-child</exsl:string>
- <exsl:string xmlns:exsl="http://exslt.org/common">without-child</exsl:string>
- <exsl:string xmlns:exsl="http://exslt.org/common">without-child</exsl:string>
- <exsl:string xmlns:exsl="http://exslt.org/common">without-child</exsl:string>
- <exsl:string xmlns:exsl="http://exslt.org/common">without-child</exsl:string>
- <exsl:string xmlns:exsl="http://exslt.org/common">with-child</exsl:string>
- </string>
- <namespace>
- <exsl:string xmlns:exsl="http://exslt.org/common">dynmap</exsl:string>
- </namespace>
-</result>
diff --git a/libxslt/tests/exslt/dynamic/dynmap.xml b/libxslt/tests/exslt/dynamic/dynmap.xml
deleted file mode 100644
index 8f069a8..0000000
--- a/libxslt/tests/exslt/dynamic/dynmap.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<dynmap>
- <with-child>
- <childNode1>aaa</childNode1>
- <childNode2>bbbb</childNode2>
- <childNode3>ccc</childNode3>
- <childNode4>dddd</childNode4>
- <childNode5>eee</childNode5>
- <childNode6>ffff</childNode6>
- <childNode7>ggg</childNode7>
- <childNode8>hhhh</childNode8>
- <childNode9>iii</childNode9>
- </with-child>
- <without-child>some text</without-child>
- <without-child>some text</without-child>
- <without-child>some text</without-child>
- <without-child>some text</without-child>
- <without-child>some text</without-child>
- <with-child>
- <childNode1>jjjj</childNode1>
- <childNode2>kkk</childNode2>
- <childNode3>llll</childNode3>
- <childNode4>mmm</childNode4>
- <childNode5>nnnn</childNode5>
- <childNode6>ooo</childNode6>
- <childNode7>pppp</childNode7>
- <childNode8>qqq</childNode8>
- <childNode9>rrrr</childNode9>
- </with-child>
-</dynmap>
diff --git a/libxslt/tests/exslt/dynamic/dynmap.xsl b/libxslt/tests/exslt/dynamic/dynmap.xsl
deleted file mode 100644
index 40f9eaf..0000000
--- a/libxslt/tests/exslt/dynamic/dynmap.xsl
+++ /dev/null
@@ -1,27 +0,0 @@
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
- xmlns:dyn="http://exslt.org/dynamic"
- exclude-result-prefixes="dyn"
->
-<xsl:output indent="yes"/>
-
-<xsl:template match="/dynmap">
-<result>
- <node-set>
- <xsl:copy-of select="dyn:map(*, 'child::*[string-length(.) &gt; 3]')"/>
- </node-set>
- <boolean>
- <xsl:copy-of select="dyn:map(*, 'string-length(name()) &gt; 3')"/>
- </boolean>
- <number>
- <xsl:copy-of select="dyn:map(*, 'count(*)')"/>
- </number>
- <string>
- <xsl:copy-of select="dyn:map(*, 'name()')"/>
- </string>
- <namespace>
- <xsl:copy-of select="dyn:map(namespace::*, 'name(/*)')"/>
- </namespace>
-</result>
-</xsl:template>
-</xsl:stylesheet>
-