[libxml2] Remove major parts of old test suite
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Remove major parts of old test suite
- Date: Mon, 4 Apr 2022 02:33:56 +0000 (UTC)
commit 48b03c847972659bf2d4451cd77f7288ad61ebf6
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Sun Apr 3 20:36:38 2022 +0200
Remove major parts of old test suite
Remove all the parts of the old test suite which are covered by
runtest.c for quite some time.
The following test programs are removed:
- testC14N
- testHTML
- testReader
- testRelax
- testSAX
- testSchemas
- testURI
- testXPath
This also removes a few results of unimportant tests only run by the old
test suite.
.gitignore | 8 -
CMakeLists.txt | 8 -
Makefile.am | 785 +----------------------
configure.ac | 38 --
doc/apibuild.py | 8 -
result/relaxng/302836_err | 1 -
result/relaxng/307377_err | 1 -
result/relaxng/492317_err | 1 -
result/relaxng/558452_err | 1 -
result/relaxng/565219_err | 1 -
result/relaxng/595792-ext_err | 1 -
result/relaxng/595792_err | 1 -
result/relaxng/710744_err | 1 -
result/relaxng/OpenDocumentSub_err | 1 -
result/relaxng/addressBook_err | 1 -
result/relaxng/ambig_name-class2_err | 1 -
result/relaxng/ambig_name-class_err | 1 -
result/relaxng/anyName0_err | 1 -
result/relaxng/choice0_err | 1 -
result/relaxng/compare0_err | 1 -
result/relaxng/comps_err | 1 -
result/relaxng/demo2_err | 1 -
result/relaxng/demo3_err | 1 -
result/relaxng/demo_err | 1 -
result/relaxng/docbook_err | 1 -
result/relaxng/empty0_err | 1 -
result/relaxng/empty1_err | 1 -
result/relaxng/include0_err | 1 -
result/relaxng/include1_err | 1 -
result/relaxng/inline2_err | 1 -
result/relaxng/inline3_err | 1 -
result/relaxng/inline_err | 1 -
result/relaxng/interleave0_0_err | 1 -
result/relaxng/interleave1_0_err | 1 -
result/relaxng/libvirt_err | 1 -
result/relaxng/list_err | 1 -
result/relaxng/pattern1_err | 1 -
result/relaxng/pattern2_err | 1 -
result/relaxng/pattern3_err | 1 -
result/relaxng/proofsystem_err | 1 -
result/relaxng/rngbug-001_err | 1 -
result/relaxng/spec1_err | 1 -
result/relaxng/spec_err | 1 -
result/relaxng/table_err | 1 -
result/relaxng/tutor10_10_err | 1 -
result/relaxng/tutor10_1_err | 1 -
result/relaxng/tutor10_2_err | 1 -
result/relaxng/tutor10_3_err | 1 -
result/relaxng/tutor10_4_err | 1 -
result/relaxng/tutor10_5_err | 1 -
result/relaxng/tutor10_6_err | 1 -
result/relaxng/tutor10_7_err | 1 -
result/relaxng/tutor10_8_err | 1 -
result/relaxng/tutor10_9_err | 1 -
result/relaxng/tutor11_1_err | 1 -
result/relaxng/tutor11_2_err | 1 -
result/relaxng/tutor11_3_err | 1 -
result/relaxng/tutor11_4_err | 1 -
result/relaxng/tutor12_1_err | 1 -
result/relaxng/tutor13_1_err | 1 -
result/relaxng/tutor14_1_err | 1 -
result/relaxng/tutor1_1_err | 1 -
result/relaxng/tutor1_2_err | 1 -
result/relaxng/tutor1_3_err | 1 -
result/relaxng/tutor1_4_err | 1 -
result/relaxng/tutor2_1_err | 1 -
result/relaxng/tutor3_1_err | 1 -
result/relaxng/tutor3_2_err | 1 -
result/relaxng/tutor3_3_err | 1 -
result/relaxng/tutor3_4_err | 1 -
result/relaxng/tutor3_5_err | 1 -
result/relaxng/tutor3_6_err | 1 -
result/relaxng/tutor3_7_err | 4 -
result/relaxng/tutor3_8_err | 1 -
result/relaxng/tutor3_9_err | 1 -
result/relaxng/tutor4_1_err | 1 -
result/relaxng/tutor4_2_err | 1 -
result/relaxng/tutor4_3_err | 1 -
result/relaxng/tutor4_4_err | 1 -
result/relaxng/tutor5_1_err | 1 -
result/relaxng/tutor5_2_err | 1 -
result/relaxng/tutor5_3_err | 1 -
result/relaxng/tutor5_4_err | 1 -
result/relaxng/tutor5_5_err | 1 -
result/relaxng/tutor6_1_err | 1 -
result/relaxng/tutor6_2_err | 1 -
result/relaxng/tutor6_3_err | 1 -
result/relaxng/tutor7_1_err | 1 -
result/relaxng/tutor7_2_err | 1 -
result/relaxng/tutor7_3_err | 1 -
result/relaxng/tutor8_1_err | 1 -
result/relaxng/tutor8_2_err | 1 -
result/relaxng/tutor8_3_err | 1 -
result/relaxng/tutor9_10_err | 1 -
result/relaxng/tutor9_11_err | 1 -
result/relaxng/tutor9_12_err | 1 -
result/relaxng/tutor9_1_err | 1 -
result/relaxng/tutor9_2_err | 1 -
result/relaxng/tutor9_3_err | 1 -
result/relaxng/tutor9_4_err | 1 -
result/relaxng/tutor9_5_err | 1 -
result/relaxng/tutor9_6_err | 1 -
result/relaxng/tutor9_7_err | 1 -
result/relaxng/tutor9_8_err | 1 -
result/relaxng/tutor9_9_err | 1 -
result/relaxng/tutorA_err | 1 -
result/valid/t4.dtd.err.rdr | 6 -
result/valid/t4a.dtd.err.rdr | 6 -
result/valid/t6.dtd.err.rdr | 6 -
testC14N.c | 372 -----------
testHTML.c | 852 -------------------------
testReader.c | 126 ----
testRelax.c | 184 ------
testSAX.c | 1136 ----------------------------------
testSchemas.c | 175 ------
testURI.c | 135 ----
testXPath.c | 214 -------
vms/build_libxml.com | 3 +-
win32/Makefile.bcb | 8 -
win32/Makefile.mingw | 8 -
win32/Makefile.msvc | 68 --
121 files changed, 17 insertions(+), 4233 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 20bdf9df..50e44639 100644
--- a/.gitignore
+++ b/.gitignore
@@ -97,17 +97,9 @@ stamp-h1
tags
test.out
testAutomata
-testC14N
-testHTML
testModule
-testReader
testRegexp
-testRelax
-testSAX
-testSchemas
testThreads
-testURI
-testXPath
testapi
testapi.c.new
testchar
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 161f2ca7..7fbec6d6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -506,20 +506,12 @@ if(LIBXML2_WITH_TESTS)
runsuite
testapi
testAutomata
- testC14N
testchar
testdict
- testHTML
testModule
testlimits
- testReader
testrecurse
testRegexp
- testRelax
- testSAX
- testSchemas
- testURI
- testXPath
)
foreach(TEST ${TESTS})
add_executable(${TEST} ${TEST}.c)
diff --git a/Makefile.am b/Makefile.am
index 3eb2505e..e1844b46 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,10 +13,19 @@ AM_CPPFLAGS = -I$(top_builddir)/include -I$(srcdir)/include -DSYSCONFDIR='"$(sys
AM_CFLAGS = $(EXTRA_CFLAGS)
-check_PROGRAMS=testSchemas testRelax testSAX testHTML testXPath testURI \
- testThreads testC14N testAutomata testRegexp \
- testReader testapi testModule runtest runsuite testchar \
- testdict runxmlconf testrecurse testlimits
+check_PROGRAMS = \
+ runsuite \
+ runtest \
+ runxmlconf \
+ testAutomata \
+ testRegexp \
+ testModule \
+ testThreads \
+ testapi \
+ testchar \
+ testdict \
+ testlimits \
+ testrecurse
bin_PROGRAMS = xmllint xmlcatalog
@@ -97,42 +106,17 @@ xmllint_LDFLAGS =
xmllint_DEPENDENCIES = $(DEPS)
xmllint_LDADD= $(RDL_LIBS) $(LDADDS)
-testSAX_SOURCES=testSAX.c
-testSAX_LDFLAGS =
-testSAX_DEPENDENCIES = $(DEPS)
-testSAX_LDADD= $(LDADDS)
-
-testHTML_SOURCES=testHTML.c
-testHTML_LDFLAGS =
-testHTML_DEPENDENCIES = $(DEPS)
-testHTML_LDADD= $(LDADDS)
-
xmlcatalog_SOURCES=xmlcatalog.c
xmlcatalog_LDFLAGS =
xmlcatalog_DEPENDENCIES = $(DEPS)
xmlcatalog_LDADD = $(RDL_LIBS) $(LDADDS)
-testXPath_SOURCES=testXPath.c
-testXPath_LDFLAGS =
-testXPath_DEPENDENCIES = $(DEPS)
-testXPath_LDADD= $(LDADDS)
-
-testC14N_SOURCES=testC14N.c
-testC14N_LDFLAGS =
-testC14N_DEPENDENCIES = $(DEPS)
-testC14N_LDADD= $(LDADDS)
-
testThreads_SOURCES = testThreads.c
testThreads_CFLAGS = $(EXTRA_CFLAGS) $(THREAD_CFLAGS)
testThreads_LDFLAGS =
testThreads_DEPENDENCIES = $(DEPS)
testThreads_LDADD= $(BASE_THREAD_LIBS) $(THREAD_LIBS) $(LDADDS)
-testURI_SOURCES=testURI.c
-testURI_LDFLAGS =
-testURI_DEPENDENCIES = $(DEPS)
-testURI_LDADD= $(LDADDS)
-
testRegexp_SOURCES=testRegexp.c
testRegexp_LDFLAGS =
testRegexp_DEPENDENCIES = $(DEPS)
@@ -143,21 +127,6 @@ testAutomata_LDFLAGS =
testAutomata_DEPENDENCIES = $(DEPS)
testAutomata_LDADD= $(LDADDS)
-testSchemas_SOURCES=testSchemas.c
-testSchemas_LDFLAGS =
-testSchemas_DEPENDENCIES = $(DEPS)
-testSchemas_LDADD= $(LDADDS)
-
-testRelax_SOURCES=testRelax.c
-testRelax_LDFLAGS =
-testRelax_DEPENDENCIES = $(DEPS)
-testRelax_LDADD= $(LDADDS)
-
-testReader_SOURCES=testReader.c
-testReader_LDFLAGS =
-testReader_DEPENDENCIES = $(DEPS)
-testReader_LDADD= $(LDADDS)
-
testModule_SOURCES=testModule.c
testModule_LDFLAGS =
testModule_DEPENDENCIES = $(DEPS)
@@ -221,425 +190,13 @@ asan:
@echo '## rebuilding for ASAN'
./configure CFLAGS="-fsanitize=address,undefined -Wformat -Werror=format-security
-Werror=array-bounds -g" CXXFLAGS="-fsanitize=address,undefined -Wformat -Werror=format-security
-Werror=array-bounds -g" LDFLAGS="-fsanitize=address,undefined" CC="clang" CXX="clang++" --disable-shared ;
OptimOff ; $(MAKE) clean ; $(MAKE)
-testall : tests SVGtests SAXtests
+testall : tests SVGtests
-tests: XMLtests XMLenttests NStests IDtests Errtests APItests $(READER_TEST) $(TEST_SAX) $(TEST_PUSH)
$(TEST_HTML) $(TEST_PHTML) $(TEST_VALID) URItests $(TEST_PATTERN) $(TEST_XPATH) $(TEST_XPTR) $(TEST_XINCLUDE)
$(TEST_C14N) $(TEST_DEBUG) $(TEST_CATALOG) $(TEST_REGEXPS) $(TEST_SCHEMAS) $(TEST_SCHEMATRON) $(TEST_THREADS)
Timingtests $(TEST_VTIME) $(PYTHON_TESTS) $(TEST_MODULES)
+tests: $(TEST_DEBUG) $(TEST_CATALOG) $(TEST_REGEXPS) $(TEST_SCHEMATRON) $(TEST_THREADS) Timingtests
$(TEST_VTIME) $(PYTHON_TESTS) $(TEST_MODULES)
@(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \
$(MAKE) -s tests ; fi)
@(cd doc/examples ; $(MAKE) -s tests)
-APItests: testapi$(EXEEXT)
- @echo "## Running the API regression tests this may take a little while"
- -@(ASAN_OPTIONS="$$ASAN_OPTIONS:detect_leaks=0" $(CHECKER) $(top_builddir)/testapi -q)
-
-HTMLtests : testHTML$(EXEEXT)
- @(echo > .memdump)
- @echo "## HTML regression tests"
- -@(for i in $(srcdir)/test/HTML/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testHTML $$i > $(srcdir)/result/HTML/$$name
2>$(srcdir)/result/HTML/$$name.err ; \
- else \
- log=`$(CHECKER) $(top_builddir)/testHTML $$i > result.$$name 2> error.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/HTML/$$name result.$$name ; \
- diff -b $(srcdir)/result/HTML/$$name.err error.$$name ; \
- $(CHECKER) $(top_builddir)/testHTML result.$$name > result2.$$name 2>error.$$name ; \
- diff result.$$name result2.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name result2.$$name error.$$name ; \
- fi ; fi ; done)
-
-HTMLPushtests : testHTML$(EXEEXT)
- @echo "## Push HTML regression tests"
- -@(for i in $(srcdir)/test/HTML/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testHTML --push $$i > $(srcdir)/result/HTML/$$name
2>$(srcdir)/result/HTML/$$name.err ; \
- else \
- log=`$(CHECKER) $(top_builddir)/testHTML --push $$i > result.$$name 2> error.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/HTML/$$name result.$$name ; \
- cut -b 1-15 $(srcdir)/result/HTML/$$name.err > errorcut.$$name; \
- cut -b 1-15 error.$$name > errorcut2.$$name; \
- diff -b errorcut.$$name errorcut2.$$name ; \
- $(CHECKER) $(top_builddir)/testHTML --push result.$$name > result2.$$name 2>error.$$name ; \
- diff result.$$name result2.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name result2.$$name error.$$name errorcut.$$name errorcut2.$$name ; \
- fi ; fi ; done)
- @echo "## HTML SAX regression tests"
- -@(for i in $(srcdir)/test/HTML/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/HTML/$$name.sax ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testHTML --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
- else \
- log=`$(CHECKER) $(top_builddir)/testHTML --sax $$i > result.$$name.sax ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name.sax ; \
- fi ; fi ; done)
- @echo "## Push HTML SAX regression tests"
- -@(for i in $(srcdir)/test/HTML/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testHTML --push --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
- else \
- log=`$(CHECKER) $(top_builddir)/testHTML --push --sax $$i 2>&1 > result.$$name.sax ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name.sax ; \
- fi ; fi ; done)
-
-XMLtests : xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## XML regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint $$i > $(srcdir)/result/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint $$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff $(srcdir)/result/$$name result.$$name ; \
- $(CHECKER) $(top_builddir)/xmllint result.$$name 2>&1 > result2.$$name | grep -v 'failed to
load external entity' ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff result.$$name result2.$$name` ;\
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name result2.$$name ; \
- fi ; fi ; done)
- @echo "## XML regression tests on memory"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --memory $$i > $(srcdir)/result/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --memory $$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/$$name result.$$name ; \
- $(CHECKER) $(top_builddir)/xmllint --memory result.$$name 2>&1 > result2.$$name | grep -v
'failed to load external entity' ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"`; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- diff result.$$name result2.$$name ; \
- rm result.$$name result2.$$name ; \
- fi ; fi ; done)
-
-XMLPushtests: xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## XML push regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --push $$i > $(srcdir)/result/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --push $$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff $(srcdir)/result/$$name result.$$name ; \
- $(CHECKER) $(top_builddir)/xmllint --push result.$$name 2>&1 > result2.$$name | grep -v 'failed
to load external entity' ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff result.$$name result2.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name result2.$$name ; \
- fi ; fi ; done)
-
-NStests : xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## XML Namespaces regression tests"
- -@(for i in $(srcdir)/test/namespaces/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/namespaces/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint $$i \
- 2> $(srcdir)/result/namespaces/$$name.err \
- > $(srcdir)/result/namespaces/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint $$i 2> error.$$name > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff $(srcdir)/result/namespaces/$$name result.$$name ; \
- diff $(srcdir)/result/namespaces/$$name.err error.$$name`; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
-
-IDtests : xmllint$(EXEEXT) testXPath$(EXEEXT)
- @(echo > .memdump)
- @echo "## xml:id regression tests"
- -@(for i in $(srcdir)/test/xmlid/id_*.xml ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/xmlid/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testXPath -i $$i "id('bar')" \
- 2> $(srcdir)/result/xmlid/$$name.err \
- > $(srcdir)/result/xmlid/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/testXPath -i $$i "id('bar')" 2> error.$$name > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff $(srcdir)/result/xmlid/$$name result.$$name ; \
- diff $(srcdir)/result/xmlid/$$name.err error.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
-
-Errtests : xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## Error cases regression tests"
- -@(for i in $(srcdir)/test/errors/*.xml ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/errors/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint $$i \
- 2> $(srcdir)/result/errors/$$name.err \
- > $(srcdir)/result/errors/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint $$i 2> error.$$name > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff $(srcdir)/result/errors/$$name result.$$name ; \
- diff $(srcdir)/result/errors/$$name.err error.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
- @echo "## Error cases regression tests (old 1.0)"
- -@(for i in $(srcdir)/test/errors10/*.xml ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/errors10/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --oldxml10 $$i \
- 2> $(srcdir)/result/errors10/$$name.err \
- > $(srcdir)/result/errors10/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --oldxml10 $$i 2> error.$$name > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff $(srcdir)/result/errors10/$$name result.$$name ; \
- diff $(srcdir)/result/errors10/$$name.err error.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
- @echo "## Error cases stream regression tests"
- -@(for i in $(srcdir)/test/errors/*.xml ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/errors/$$name.str ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --stream $$i \
- 2> $(srcdir)/result/errors/$$name.str \
- > /dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --stream $$i 2> error.$$name > /dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff $(srcdir)/result/errors/$$name.str error.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm error.$$name ; \
- fi ; fi ; done)
-
-XMLenttests : xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## XML entity subst regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/noent/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --noent $$i > $(srcdir)/result/noent/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --noent $$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff $(srcdir)/result/noent/$$name result.$$name ; \
- $(CHECKER) $(top_builddir)/xmllint --noent result.$$name 2>&1 > result2.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- diff result.$$name result2.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name result2.$$name ; \
- fi ; fi ; done)
-
-URItests : testURI$(EXEEXT)
- @(echo > .memdump)
- @echo "## URI module regression tests"
- -@(for i in $(srcdir)/test/URI/*.data ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/URI/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i >
$(srcdir)/result/URI/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' <
$$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/URI/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- -@(for i in $(srcdir)/test/URI/*.uri ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/URI/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testURI < $$i > $(srcdir)/result/URI/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/testURI < $$i 2>&1 > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/URI/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
-
-XPathtests : testXPath$(EXEEXT)
- @(echo > .memdump)
- @echo "## XPath regression tests"
- -@(if [ "`$(top_builddir)/testXPath | grep 'support not compiled in'`" != "" ] ; \
- then echo Skipping debug not compiled in ; exit 0 ; fi ; \
- for i in $(srcdir)/test/XPath/expr/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/XPath/expr/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testXPath -f --expr $$i > $(srcdir)/result/XPath/expr/$$name 2>
/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/testXPath -f --expr $$i > result.$$name 2> /dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/XPath/expr/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done ; \
- for i in $(srcdir)/test/XPath/docs/* ; do \
- if [ ! -d $$i ] ; then \
- doc=`basename $$i`; \
- for j in $(srcdir)/test/XPath/tests/$$doc* ; do \
- if [ ! -f $$j ] ; then continue ; fi ; \
- name=`basename $$j`; \
- if [ ! -d $$j ] ; then \
- if [ ! -f $(srcdir)/result/XPath/tests/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testXPath -f -i $$i $$j > $(srcdir)/result/XPath/tests/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/testXPath -f -i $$i $$j > result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/XPath/tests/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done ; fi ; done)
-
-XPtrtests : testXPath$(EXEEXT)
- @(echo > .memdump)
- @echo "## XPointer regression tests"
- -@(if [ "`$(top_builddir)/testXPath | grep 'support not compiled in'`" != "" ] ; \
- then echo Skipping debug not compiled in ; exit 0 ; fi ; \
- for i in $(srcdir)/test/XPath/docs/* ; do \
- if [ ! -d $$i ] ; then \
- doc=`basename $$i`; \
- for j in $(srcdir)/test/XPath/xptr/$$doc* ; do \
- if [ ! -f $$j ] ; then continue ; fi ; \
- name=`basename $$j`; \
- if [ ! -d $$j ] ; then \
- if [ ! -f $(srcdir)/result/XPath/xptr/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testXPath -xptr -f -i $$i $$j > $(srcdir)/result/XPath/xptr/$$name
2> /dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
- else \
- log=`$(CHECKER) $(top_builddir)/testXPath -xptr -f -i $$i $$j > result.$$name 2> /dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/XPath/xptr/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done ; fi ; done)
-
-XIncludetests : xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## XInclude regression tests"
- -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/XInclude/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude $$i >
$(srcdir)/result/XInclude/$$name 2> $(srcdir)/result/XInclude/$$name.err ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude $$i > result.$$name
2>error.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/XInclude/$$name result.$$name ; \
- diff $(srcdir)/result/XInclude/$$name.err error.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
- -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/XInclude/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode $$i >
$(srcdir)/result/XInclude/$$name 2> $(srcdir)/result/XInclude/$$name.err ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode $$i > result.$$name
2>error.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/XInclude/$$name result.$$name ; \
- diff $(srcdir)/result/XInclude/$$name.err error.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
- @(echo > .memdump)
- @echo "## XInclude xmlReader regression tests"
- -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/XInclude/$$name.rdr ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i >
$(srcdir)/result/XInclude/$$name.rdr ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i >
result.$$name 2>error.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/XInclude/$$name.err error.$$name ; \
- diff $(srcdir)/result/XInclude/$$name.rdr result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
- -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/XInclude/$$name.rdr ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode --stream --debug $$i >
$(srcdir)/result/XInclude/$$name.rdr ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i >
result.$$name 2>error.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/XInclude/$$name.err error.$$name ; \
- diff $(srcdir)/result/XInclude/$$name.rdr result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
-
Scripttests : xmllint$(EXEEXT)
@(echo > .memdump)
@echo "## Scripts regression tests"
@@ -741,160 +298,6 @@ Threadtests : testThreads$(EXEEXT)
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"; \
exit 0)
-Readertests : xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## Reader regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --nonet --debug --stream $$i > $(srcdir)/result/$$name.rdr
2>/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --nonet --debug --stream $$i > result.$$name
2>/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/$$name.rdr result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- @echo "## Reader on memory regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --memory --nonet --debug --stream $$i >
$(srcdir)/result/$$name.rdr 2>/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --memory --nonet --debug --stream $$i > result.$$name
2>/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/$$name.rdr result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- @(echo > .memdump)
- @echo "## Walker regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --nonet --debug --walker $$i > $(srcdir)/result/$$name.rdr
2>/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --nonet --debug --walker $$i > result.$$name
2>/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/$$name.rdr result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- @echo "## Reader entities substitution regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name.rde ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --noent --nonet --debug --stream $$i >
$(srcdir)/result/$$name.rde 2>/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --noent --nonet --debug --stream $$i > result.$$name
2>/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/$$name.rde result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
-
-SAXtests : testSAX$(EXEEXT)
- @(echo > .memdump)
- @echo "## SAX1 callbacks regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name.sax ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testSAX $$i > $(srcdir)/result/$$name.sax 2> /dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/testSAX $$i > result.$$name 2> /dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/$$name.sax result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- @echo "## SAX2 callbacks regression tests"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/$$name.sax2 ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testSAX --sax2 $$i > $(srcdir)/result/$$name.sax2 2> /dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/testSAX --sax2 $$i > result.$$name 2> /dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/$$name.sax2 result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- @echo "## SAX2 callbacks regression tests with entity substitution"
- -@(for i in $(srcdir)/test/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/noent/$$name.sax2 ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/testSAX --sax2 --noent $$i > $(srcdir)/result/noent/$$name.sax2 2>
/dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/testSAX --sax2 --noent $$i > result.$$name 2> /dev/null ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/noent/$$name.sax2 result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
-
-Validtests : xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## Valid documents regression tests"
- -@(for i in $(srcdir)/test/VCM/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- log=`$(CHECKER) $(top_builddir)/xmllint --valid --noout --nowarning $$i ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0"`;\
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- fi ; done ; exit 0)
- @echo "## Validity checking regression tests"
- -@(for i in $(srcdir)/test/VC/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/VC/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --noout --valid $$i 2> $(srcdir)/result/VC/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --noout --valid $$i 2> result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/VC/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done)
- @echo "## General documents valid regression tests"
- -@(for i in $(srcdir)/test/valid/* ; do \
- name=`basename $$i`; \
- if [ ! -d $$i ] ; then \
- if [ ! -f $(srcdir)/result/valid/$$name ] ; then \
- echo New test file $$name ; \
- $(CHECKER) $(top_builddir)/xmllint --valid $$i > $(srcdir)/result/valid/$$name
2>$(srcdir)/result/valid/$$name.err ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint --valid $$i > result.$$name 2>error.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/valid/$$name result.$$name ; \
- diff $(srcdir)/result/valid/$$name.err error.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name error.$$name ; \
- fi ; fi ; done)
-
Regexptests: testRegexp$(EXEEXT)
@(echo > .memdump)
@echo "## Regexp regression tests"
@@ -985,138 +388,6 @@ VTimingtests: xmllint$(EXEEXT)
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
exit 0)
-C14Ntests : testC14N$(EXEEXT)
- @echo "## C14N and XPath regression tests"
- -@(for m in with-comments without-comments 1-1-without-comments exc-without-comments ; do \
- for i in $(srcdir)/test/c14n/$$m/*.xml ; do \
- if [ ! -d $$i ] ; then \
- name=`basename $$i .xml`; \
- cmdline="$(CHECKER) $(top_builddir)/testC14N --$$m $$i"; \
- if [ -f $(srcdir)/test/c14n/$$m/$$name.xpath ] ; then \
- cmdline="$$cmdline $(srcdir)/test/c14n/$$m/$$name.xpath"; \
- if [ -f $(srcdir)/test/c14n/$$m/$$name.ns ] ; then \
- cmdline="$$cmdline '`cat $(srcdir)/test/c14n/$$m/$$name.ns`'"; \
- fi; \
- fi; \
- $$cmdline > $(srcdir)/test/c14n/test.tmp 2> /dev/null; \
- if [ $$? -eq 0 ]; then \
- diff $(srcdir)/result/c14n/$$m/$$name $(srcdir)/test/c14n/test.tmp; \
- if [ $$? -ne 0 ]; then \
- echo "Test $$m/$$name failed"; \
- cat $(srcdir)/test/c14n/test.tmp; \
- fi; \
- else \
- echo "C14N failed"; \
- fi; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- fi; \
- rm -f $(srcdir)/test/c14n/test.tmp; \
- done; \
- done)
-
-Schemastests: testSchemas$(EXEEXT)
- @(echo > .memdump)
- @echo "## Schemas regression tests"
- -@(for i in $(srcdir)/test/schemas/*_*.xsd ; do \
- name=`basename $$i | sed 's+_.*++'`; \
- sno=`basename $$i | sed 's+.*_\(.*\).xsd+\1+'`; \
- for j in $(srcdir)/test/schemas/"$$name"_*.xml ; do \
- if [ -f $$j ] ; then \
- xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
- if [ ! -f $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" ]; \
- then \
- echo New test file "$$name"_"$$sno"_"$$xno" ; \
- $(CHECKER) $(top_builddir)/testSchemas $$i $$j \
- > $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" \
- 2> $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno".err; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/testSchemas $$i $$j \
- > res.$$name 2> err.$$name;\
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" \
- res.$$name;\
- diff $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno".err \
- err.$$name;\
- grep Unimplemented err.$$name`; \
- if [ -n "$$log" ] ; then echo "$$name"_"$$sno"_"$$xno" result ; echo "$$log" ; fi ; \
- rm res.$$name err.$$name ; \
- fi ; fi ;\
- done; done)
-
-Relaxtests: xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## Relax-NG regression tests"
- -@(for i in $(srcdir)/test/relaxng/*.rng ; do \
- name=`basename $$i | sed 's+\.rng++'`; \
- if [ ! -f $(srcdir)/result/relaxng/"$$name"_valid ] ; then \
- echo New schemas $$name ; \
- $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $(srcdir)/test/relaxng/tutorA.rng
$$i \
- > $(srcdir)/result/relaxng/"$$name"_valid \
- 2> $(srcdir)/result/relaxng/"$$name"_err; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng
$(srcdir)/test/relaxng/tutorA.rng $$i \
- > res.$$name 2> err.$$name;\
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/relaxng/"$$name"_valid \
- res.$$name;\
- diff $(srcdir)/result/relaxng/"$$name"_err \
- err.$$name | grep -v "error detected at";\
- grep Unimplemented err.$$name`; \
- if [ -n "$$log" ] ; then echo schemas $$name result ; echo "$$log" ; fi ; \
- rm res.$$name err.$$name ; \
- fi; \
- for j in $(srcdir)/test/relaxng/"$$name"_*.xml ; do \
- if [ -f $$j ] ; then \
- xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
- if [ ! -f $(srcdir)/result/relaxng/"$$name"_"$$xno" ]; \
- then \
- echo New test file "$$name"_"$$xno" ; \
- $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
- > $(srcdir)/result/relaxng/"$$name"_"$$xno" \
- 2> $(srcdir)/result/relaxng/"$$name"_"$$xno".err; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
- > res.$$name 2> err.$$name;\
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/relaxng/"$$name"_"$$xno" \
- res.$$name;\
- diff $(srcdir)/result/relaxng/"$$name"_"$$xno".err \
- err.$$name | grep -v "error detected at";\
- grep Unimplemented err.$$name`; \
- if [ -n "$$log" ] ; then echo "$$name"_"$$xno" result ; echo "$$log" ; fi ; \
- rm res.$$name err.$$name ; \
- fi ; fi ; \
- done; done)
- @echo "## Relax-NG streaming regression tests"
- -@(for i in $(srcdir)/test/relaxng/*.rng ; do \
- name=`basename $$i | sed 's+\.rng++'`; \
- for j in $(srcdir)/test/relaxng/"$$name"_*.xml ; do \
- if [ -f $$j ] ; then \
- xno=`basename $$j | sed 's+.*_\(.*\).xml+\1+'`; \
- if [ ! -f $(srcdir)/result/relaxng/"$$name"_"$$xno" ]; \
- then \
- echo New test file "$$name"_"$$xno" ; \
- $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $$i $$j \
- > $(srcdir)/result/relaxng/"$$name"_"$$xno" \
- 2> $(srcdir)/result/relaxng/"$$name"_"$$xno".err; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- else \
- log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --stream --relaxng $$i $$j \
- > res.$$name 2> err.$$name;\
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- diff $(srcdir)/result/relaxng/"$$name"_"$$xno" res.$$name;\
- if [ "$$name" != "tutor10_1" -a "$$name" != "tutor10_2" -a "$$name" != "tutor3_2" -a
"$$name" != "307377" -a "$$name" != "tutor8_2" ] ; then \
- diff $(srcdir)/result/relaxng/"$$name"_"$$xno".err \
- err.$$name | grep -v "error detected at";\
- fi ; grep Unimplemented err.$$name`; \
- if [ -n "$$log" ] ; then echo "$$name"_"$$xno" result ; echo "$$log" ; fi ; \
- rm res.$$name err.$$name ; \
- fi ; fi ; \
- done; done)
-
Schematrontests: xmllint$(EXEEXT)
@(echo > .memdump)
@echo "## Schematron regression tests"
@@ -1170,30 +441,6 @@ SchemasPythonTests:
fi)
@(if [ -x $(PYTHON) -a -d xstc ] ; then cd xstc ; $(MAKE) CHECKER="$(CHECKER)" pytests ; fi)
-Patterntests: xmllint$(EXEEXT)
- @(echo > .memdump)
- @echo "## Pattern regression tests"
- -@(for i in $(srcdir)/test/pattern/*.pat ; do \
- name=`basename $$i .pat`; \
- if [ -f $(srcdir)/test/pattern/$$name.xml ] ; then \
- if [ ! -f $(srcdir)/result/pattern/$$name ] ; then \
- rm -f result.$$name ; \
- echo New test file $$name ; \
- for pat in `cat $$i` ; do \
- $(CHECKER) $(top_builddir)/xmllint --walker --pattern $$pat $(srcdir)/test/pattern/$$name.xml
$(srcdir)/result/pattern/$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- done ;\
- else \
- rm -f result.$$name ; \
- lst=`cat $$i` ; \
- log=`for pat in $$lst ; do $(CHECKER) $(top_builddir)/xmllint --walker --pattern $$pat
$(srcdir)/test/pattern/$$name.xml 2>&1 >> result.$$name ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
- done ;\
- diff $(srcdir)/result/pattern/$$name result.$$name` ; \
- if [ -n "$$log" ] ; then echo $$name result ; echo "$$log" ; fi ; \
- rm result.$$name ; \
- fi ; fi ; done ;)
-
ModuleTests: testModule$(EXEEXT) testdso.la
@echo "## Module tests"
@(./testModule$(EXEEXT))
@@ -1251,7 +498,7 @@ cmake_DATA = libxml2-config.cmake
# Install the tests program sources as examples
#
examplesdir = $(docdir)/examples
-examples_DATA = xmllint.c testSAX.c testHTML.c testXPath.c
+examples_DATA = xmllint.c
tst: tst.c
$(CC) $(CFLAGS) -Iinclude -o tst tst.c .libs/libxml2.a -lpthread -lm -lz -llzma
diff --git a/configure.ac b/configure.ac
index 3166e6f9..1ffc34c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -988,17 +988,14 @@ AC_SUBST(WITH_LEGACY)
if test "$with_reader" = "no" ; then
echo Disabling the xmlReader parsing interface
WITH_READER=0
- READER_TEST=
else
WITH_READER=1
- READER_TEST=Readertests
if test "$with_push" = "no" ; then
echo xmlReader requires Push interface - enabling it
with_push=yes
fi
fi
AC_SUBST(WITH_READER)
-AC_SUBST(READER_TEST)
if test "$with_writer" = "no" ; then
echo Disabling the xmlWriter saving interface
@@ -1022,64 +1019,44 @@ AC_SUBST(WITH_WRITER)
if test "$with_pattern" = "no" ; then
echo Disabling the xmlPattern parsing interface
WITH_PATTERN=0
- TEST_PATTERN=
else
WITH_PATTERN=1
- TEST_PATTERN=Patterntests
fi
AC_SUBST(WITH_PATTERN)
-AC_SUBST(TEST_PATTERN)
if test "$with_sax1" = "no" ; then
echo Disabling the older SAX1 interface
WITH_SAX1=0
- TEST_SAX=
else
WITH_SAX1=1
- TEST_SAX=SAXtests
fi
AC_SUBST(WITH_SAX1)
-AC_SUBST(TEST_SAX)
if test "$with_push" = "no" ; then
echo Disabling the PUSH parser interfaces
WITH_PUSH=0
- TEST_PUSH=
else
WITH_PUSH=1
- TEST_PUSH="XMLPushtests"
fi
AC_SUBST(WITH_PUSH)
-AC_SUBST(TEST_PUSH)
if test "$with_html" = "no" ; then
echo Disabling HTML support
WITH_HTML=0
HTML_OBJ=
- TEST_HTML=
else
WITH_HTML=1
HTML_OBJ="HTMLparser.o HTMLtree.o"
- TEST_HTML=HTMLtests
- if test "$with_push" != "no" ; then
- TEST_PHTML=HTMLPushtests
- else
- TEST_PHTML=
- fi
fi
AC_SUBST(WITH_HTML)
AC_SUBST(HTML_OBJ)
-AC_SUBST(TEST_HTML)
-AC_SUBST(TEST_PHTML)
if test "$with_valid" = "no" ; then
echo Disabling DTD validation support
WITH_VALID=0
- TEST_VALID=
TEST_VTIME=
else
WITH_VALID=1
- TEST_VALID=Validtests
TEST_VTIME=VTimingtests
fi
AC_SUBST(WITH_VALID)
@@ -1104,11 +1081,9 @@ if test "$with_xptr" = "no" ; then
echo Disabling XPointer support
WITH_XPTR=0
XPTR_OBJ=
- TEST_XPTR=
else
WITH_XPTR=1
XPTR_OBJ=xpointer.o
- TEST_XPTR=XPtrtests
if test "$with_xpath" = "no" ; then
echo XPointer requires XPath support - enabling it
with_xpath=yes
@@ -1116,17 +1091,14 @@ else
fi
AC_SUBST(WITH_XPTR)
AC_SUBST(XPTR_OBJ)
-AC_SUBST(TEST_XPTR)
if test "$with_c14n" = "no" ; then
echo Disabling C14N support
WITH_C14N=0
C14N_OBJ=
- TEST_C14N=
else
WITH_C14N=1
C14N_OBJ="c14n.c"
- TEST_C14N=C14Ntests
if test "$with_xpath" = "no" ; then
echo C14N requires XPath support - enabling it
with_xpath=yes
@@ -1134,18 +1106,15 @@ else
fi
AC_SUBST(WITH_C14N)
AC_SUBST(C14N_OBJ)
-AC_SUBST(TEST_C14N)
if test "$with_xinclude" = "no" ; then
echo Disabling XInclude support
WITH_XINCLUDE=0
XINCLUDE_OBJ=
with_xinclude="no"
- TEST_XINCLUDE=
else
WITH_XINCLUDE=1
XINCLUDE_OBJ=xinclude.o
- TEST_XINCLUDE=XIncludetests
if test "$with_xpath" = "no" ; then
echo XInclude requires XPath support - enabling it
with_xpath=yes
@@ -1153,7 +1122,6 @@ else
fi
AC_SUBST(WITH_XINCLUDE)
AC_SUBST(XINCLUDE_OBJ)
-AC_SUBST(TEST_XINCLUDE)
if test "$with_xptr" = "" && test "$with_xpath" = "no" ; then
with_xptr=no
@@ -1182,15 +1150,12 @@ if test "$with_xpath" = "no" ; then
echo Disabling XPATH support
WITH_XPATH=0
XPATH_OBJ=
- TEST_XPATH=
else
WITH_XPATH=1
XPATH_OBJ=xpath.o
- TEST_XPATH=XPathtests
fi
AC_SUBST(WITH_XPATH)
AC_SUBST(XPATH_OBJ)
-AC_SUBST(TEST_XPATH)
dnl
dnl output functions
@@ -1327,18 +1292,15 @@ AC_SUBST(WITH_ISO8859X)
if test "$with_schemas" = "no" ; then
echo "Disabling Schemas/Relax-NG support"
WITH_SCHEMAS=0
- TEST_SCHEMAS=
else
echo "Enabled Schemas/Relax-NG support"
WITH_SCHEMAS=1
- TEST_SCHEMAS="Schemastests Relaxtests"
AS_IF([test "x$with_python" != "xno"], [
PYTHON_TESTS="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests"
])
with_regexps=yes
fi
AC_SUBST(WITH_SCHEMAS)
-AC_SUBST(TEST_SCHEMAS)
if test "$with_regexps" = "no" ; then
echo Disabling Regexps support
diff --git a/doc/apibuild.py b/doc/apibuild.py
index 2fbe11a9..18ac9417 100755
--- a/doc/apibuild.py
+++ b/doc/apibuild.py
@@ -31,18 +31,10 @@ ignored_files = {
"testOOMlib.c": "out of memory tester",
"rngparser.c": "not yet integrated",
"rngparser.h": "not yet integrated",
- "testHTML.c": "test tool",
- "testReader.c": "test tool",
- "testSchemas.c": "test tool",
- "testXPath.c": "test tool",
"testAutomata.c": "test tool",
"testModule.c": "test tool",
"testRegexp.c": "test tool",
"testThreads.c": "test tool",
- "testC14N.c": "test tool",
- "testRelax.c": "test tool",
- "testSAX.c": "test tool",
- "testURI.c": "test tool",
"testapi.c": "generated regression tests",
"runtest.c": "regression tests program",
"runsuite.c": "regression tests program",
diff --git a/vms/build_libxml.com b/vms/build_libxml.com
index 1f7936e5..2db561f3 100755
--- a/vms/build_libxml.com
+++ b/vms/build_libxml.com
@@ -64,8 +64,7 @@ $!
$!- list of test modules to compile and link. Compare this list to the
$! definition of check_PROGRAMS in MAKEFILE.
$!
-$ check_PROGRAMS = "testSchemas testRelax testSAX testHTML testXPath testURI " -
- + "testThreads testC14N testAutomata testRegexp testReader"
+$ check_PROGRAMS = "testThreads testAutomata testRegexp"
$!
$!- set up build logicals -----------------------------------------------------\
$!
diff --git a/win32/Makefile.bcb b/win32/Makefile.bcb
index 6adc245e..0fe8eae0 100644
--- a/win32/Makefile.bcb
+++ b/win32/Makefile.bcb
@@ -206,16 +206,8 @@ XML_OBJS_A = $(XML_INTDIR_A)\buf.obj\
UTILS = $(BINDIR)\xmllint.exe\
$(BINDIR)\xmlcatalog.exe\
$(BINDIR)\testAutomata.exe\
- $(BINDIR)\testC14N.exe\
- $(BINDIR)\testHTML.exe\
- $(BINDIR)\testReader.exe\
- $(BINDIR)\testRelax.exe\
$(BINDIR)\testRegexp.exe\
$(BINDIR)\testModule.exe\
- $(BINDIR)\testSAX.exe\
- $(BINDIR)\testSchemas.exe\
- $(BINDIR)\testURI.exe\
- $(BINDIR)\testXPath.exe\
$(BINDIR)\runtest.exe\
$(BINDIR)\runsuite.exe\
$(BINDIR)\testapi.exe\
diff --git a/win32/Makefile.mingw b/win32/Makefile.mingw
index a4452ffb..3f6069b8 100644
--- a/win32/Makefile.mingw
+++ b/win32/Makefile.mingw
@@ -202,16 +202,8 @@ XML_SRCS_A = $(subst .o,.c,$(subst $(XML_INTDIR_A)/,$(XML_SRCDIR)/,$(XML_OBJS_A)
UTILS = $(BINDIR)/xmllint.exe\
$(BINDIR)/xmlcatalog.exe\
$(BINDIR)/testAutomata.exe\
- $(BINDIR)/testC14N.exe\
- $(BINDIR)/testHTML.exe\
- $(BINDIR)/testReader.exe\
$(BINDIR)/testRegexp.exe\
$(BINDIR)/testModule.exe\
- $(BINDIR)/testRelax.exe\
- $(BINDIR)/testSAX.exe\
- $(BINDIR)/testSchemas.exe\
- $(BINDIR)/testURI.exe\
- $(BINDIR)/testXPath.exe\
$(BINDIR)/runtest.exe\
$(BINDIR)/runsuite.exe\
$(BINDIR)/testapi.exe\
diff --git a/win32/Makefile.msvc b/win32/Makefile.msvc
index 5d3b4e1b..233251c2 100644
--- a/win32/Makefile.msvc
+++ b/win32/Makefile.msvc
@@ -256,16 +256,8 @@ XML_OBJS_A_DLL = $(XML_OBJS_A_DLL) $(XML_INTDIR_A_DLL)\xzlib.obj
UTILS = $(BINDIR)\xmllint.exe\
$(BINDIR)\xmlcatalog.exe\
$(BINDIR)\testAutomata.exe\
- $(BINDIR)\testC14N.exe\
- $(BINDIR)\testHTML.exe\
- $(BINDIR)\testReader.exe\
- $(BINDIR)\testRelax.exe\
$(BINDIR)\testRegexp.exe\
$(BINDIR)\testModule.exe\
- $(BINDIR)\testSAX.exe\
- $(BINDIR)\testSchemas.exe\
- $(BINDIR)\testURI.exe\
- $(BINDIR)\testXPath.exe\
$(BINDIR)\runtest.exe\
$(BINDIR)\runsuite.exe\
$(BINDIR)\runxmlconf.exe\
@@ -436,63 +428,3 @@ checktests : $(UTILS)
cd .. && win32\$(BINDIR)\testdict.exe
cd .. && win32\$(BINDIR)\runxmlconf.exe
-XPathtests : $(BINDIR)\testXPath.exe
- @echo. 2> .memdump
- @echo ## XPath regression tests
- @-$(BINDIR)\testXPath.exe | find /C "support not compiled in" 1>nul
- @if %ERRORLEVEL% NEQ 0 @( \
- echo Skipping debug not compiled in\
- @exit 0 \
- )
- @for %%I in ($(XML_SRCDIR)\test\XPath\expr\*.*) do @( \
- @IF NOT EXIST $(XML_SRCDIR)\result\XPath\expr\%%~nxI ( \
- @echo New test %%~nxI &&\
- @echo %%~nxI &&\
- $(BINDIR)\testXPath.exe -f --expr %%I > $(XML_SRCDIR)/result/XPath/expr/%%~nxI &&\
- findstr /C:"MEMORY ALLOCATED : 0" \
- ) ELSE ( \
- $(BINDIR)\testXPath.exe -f --expr %%I 2>&1 > result.%%~nxI &&\
- fc $(XML_SRCDIR)\result\XPath\expr\%%~nxI result.%%~nxI >nul &\
- iF ERRORLEVEL 1 exit 1 & \
- findstr "MEMORY ALLOCATED" .memdump | findstr /C:"MEMORY ALLOCATED : 0" >nul &&\
- del result.%%~nxI \
- ) \
- )
- @for %%I in ($(XML_SRCDIR)\test\XPath\docs\*.*) do @( \
- for %%J in ($(XML_SRCDIR)\test\XPath\tests\%%~nxI*.*) do @( \
- if not exist $(XML_SRCDIR)\result\XPath\tests\%%~nxJ ( \
- $(BINDIR)\testXPath.exe -f -i %%I %%J >
$(XML_SRCDIR)\result\XPath\tests\%%~nxJ &&\
- findstr /C:"MEMORY ALLOCATED" .memdump | findstr /C:"MEMORY ALLOCATED : 0" >
nul \
- ) ELSE ( \
- $(BINDIR)\testXPAth.exe -f -i %%I %%J 2>&1 > result.%%~nxJ &&\
- findstr /C:"MEMORY ALLOCATED" .memdump | findstr /C:"MEMORY ALLOCATED :
0">null &&\
- fc $(XML_SRCDIR)\result\XPath\tests\%%~nxJ result.%%~nxJ >null & \
- IF ERRORLEVEL 1 (echo Error: %%I %%J & exit 1) & \
- del result.%%~nxJ \
- )\
- )\
- )
-
-XMLtests : $(BINDIR)\xmllint.exe
- @echo. 2> .memdump
- @echo ## XML regression tests
- -@for %%I in ($(XML_SRCDIR)\test\*) do @( \
- if not exist $(XML_SRCDIR)\result\%%~nxI ( \
- echo New test file %%~nxI &\
- $(BINDIR)\xmllint.exe %%I > $(XML_SRCDIR)\result\%%~nxI && \
- findstr /C:"MEMORY ALLOCATED" .memdump | findstr /C:"MEMORY ALLOCATED : 0" > null \
- ) ELSE ( \
- $(BINDIR)\xmllint.exe %%I 2>&1 > result.%%~nxI && \
- findstr /C:"MEMORY ALLOC" .memdump | findstr /C:"MEMORY ALLOCATED : 0" > null && \
- fc $(XML_SRCDIR)\result\%%~nxI result.%%~nxI > null && \
- $(BINDIR)\xmllint.exe result.%%~nxI 2>&1 > result2.%%~nxI | findstr /V /C:"failed to
load external entity" && \
- fc result.%%~nxI result2.%%~nxI & \
- del result.%%~nxI result2.%%~nxI\
- ) \
- )
-
-
-
-
-
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]