21287299 libxml2 master test results and system test support
authorPetr Sumbera <petr.sumbera@oracle.com>
Fri, 19 Jun 2015 04:22:33 -0700
changeset 4530 57e1c0fb4585
parent 4520 56630cd6ade3
child 4531 995e3322f49c
21287299 libxml2 master test results and system test support
components/libxml2/Makefile
components/libxml2/patches/system-test.patch
components/libxml2/test/results-all.master
--- a/components/libxml2/Makefile	Mon Jun 22 11:56:53 2015 -0700
+++ b/components/libxml2/Makefile	Fri Jun 19 04:22:33 2015 -0700
@@ -119,6 +119,17 @@
 COMPONENT_PRE_TEST_ACTION += \
     (cd $(@D) ; gtar xf $(COMPONENT_DIR)/$(COMPONENT_ARCHIVE_1));
 
+COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
+
+COMPONENT_TEST_TRANSFORMS = \
+	'-e "s/^make\[.*$$/[EnD]/" ' \
+	'-e "/^\#\# XML regression tests/,/^\[EnD\]/p" ' \
+	'-e "/^\#\# running Python regression tests/,/^\[EnD\]/p" ' \
+        '-e "/.*/d" '
+
+COMPONENT_SYSTEM_TEST_TARGETS = system-test 
+COMPONENT_PRE_SYSTEM_TEST_ACTION = $(COMPONENT_PRE_TEST_ACTION)
+
 # common targets
 configure:	$(CONFIGURE_32_and_64)
 
@@ -131,7 +142,7 @@
 
 test:		$(TEST_32_and_64)
 
-system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
+system-test:    $(CONFIGURE_32_and_64) $(SYSTEM_TEST_32_and_64)
 
 
 REQUIRED_PACKAGES += library/libxml2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/patches/system-test.patch	Fri Jun 19 04:22:33 2015 -0700
@@ -0,0 +1,21 @@
+Patch origin: in-house
+Patch status: submitted to upstream
+
+https://bugzilla.gnome.org/show_bug.cgi?id=751205
+
+--- libxml2-2.9.2/Makefile.am
++++ libxml2-2.9.2/Makefile.am
+@@ -211,6 +211,13 @@
+ 
+ check: all runtests
+ 
++# It will use libxml2 installed on system only when there is no one in
++# .libs/ directory (which could be used via LD_LIBRARY_PATH).
++system-test:
++	$(MAKE) runtest testrecurse testapi testchar testdict runxmlconf DEPS= LDADDS=-lxml2
++	$(MAKE) runtests PYTHON_SUBDIR=
++	cd python/tests; $(MAKE) tests
++
+ check-valgrind valgrind: all
+ 	@echo '## Running the regression tests under Valgrind'
+ 	@echo '## Go get a cup of coffee it is gonna take a while ...'
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/test/results-all.master	Fri Jun 19 04:22:33 2015 -0700
@@ -0,0 +1,120 @@
+## XML regression tests
+## XML regression tests on memory
+## XML entity subst regression tests
+## XML Namespaces regression tests
+## Error cases regression tests
+## Error cases stream regression tests
+## Reader regression tests
+## Reader entities substitution regression tests
+## Reader on memory regression tests
+## Walker regression tests
+## SAX1 callbacks regression tests
+## SAX2 callbacks regression tests
+## XML push regression tests
+## HTML regression tests
+## Push HTML regression tests
+## HTML SAX regression tests
+## Valid documents regression tests
+## Validity checking regression tests
+## Streaming validity checking regression tests
+## Streaming validity error checking regression tests
+## General documents valid regression tests
+## XInclude regression tests
+## XInclude xmlReader regression tests
+## XInclude regression tests stripping include nodes
+## XInclude xmlReader regression tests stripping include nodes
+## XPath expressions regression tests
+## XPath document queries regression tests
+## XPointer document queries regression tests
+## xml:id regression tests
+## URI parsing tests
+## URI base composition tests
+## Path URI conversion tests
+## Schemas regression tests
+## Relax-NG regression tests
+## Relax-NG streaming regression tests
+## Pattern regression tests
+## C14N with comments regression tests
+## C14N without comments regression tests
+## C14N exclusive without comments regression tests
+## C14N 1.1 without comments regression tests
+## Catalog and Threads regression tests
+Total 2891 tests, no errors
+.........
+## Parsing recursive test cases
+## Parsing non-recursive test cases
+## Parsing non-recursive huge case
+Total 9 tests, no errors
+Testing HTMLparser : 32 of 38 functions ...
+Testing HTMLtree : 18 of 18 functions ...
+Testing SAX2 : 38 of 38 functions ...
+Testing c14n : 3 of 4 functions ...
+Testing catalog : 27 of 36 functions ...
+Testing chvalid : 9 of 9 functions ...
+Testing debugXML : 25 of 28 functions ...
+Testing dict : 10 of 13 functions ...
+Testing encoding : 16 of 19 functions ...
+Testing entities : 13 of 17 functions ...
+Testing hash : 16 of 24 functions ...
+Testing list : 19 of 26 functions ...
+Testing nanoftp : 14 of 22 functions ...
+Testing nanohttp : 13 of 17 functions ...
+Testing parser : 61 of 70 functions ...
+Testing parserInternals : 33 of 90 functions ...
+Testing pattern : 10 of 15 functions ...
+Testing relaxng : 14 of 24 functions ...
+Testing schemasInternals : 0 of 2 functions ...
+Testing schematron : 1 of 10 functions ...
+Testing tree : 142 of 164 functions ...
+Testing uri : 10 of 15 functions ...
+Testing valid : 50 of 70 functions ...
+Testing xinclude : 8 of 10 functions ...
+Testing xmlIO : 40 of 50 functions ...
+Testing xmlautomata : 3 of 19 functions ...
+Testing xmlerror : 7 of 15 functions ...
+Testing xmlmodule : 2 of 4 functions ...
+Testing xmlreader : 76 of 86 functions ...
+Testing xmlregexp : 16 of 30 functions ...
+Testing xmlsave : 4 of 10 functions ...
+Testing xmlschemas : 16 of 27 functions ...
+Testing xmlschemastypes : 26 of 34 functions ...
+Testing xmlstring : 26 of 30 functions ...
+Testing xmlunicode : 166 of 166 functions ...
+Testing xmlwriter : 52 of 80 functions ...
+Testing xpath : 32 of 40 functions ...
+Testing xpathInternals : 106 of 117 functions ...
+Testing xpointer : 17 of 21 functions ...
+Total: 1171 functions, 291083 tests, 0 errors
+testing char range: 1 2 3 4 done
+testing 1 byte char in document: 1 2 3 4 done
+testing 2 byte char in document: 1 2 3 4 done
+dictionary tests succeeded 20000 strings
+Test suite: XML 1.0 (2nd edition) W3C Conformance Test Suite, 6 October 2000
+Test cases: James Clark  XML 1.0 Tests
+Test cases: Fuji Xerox Japanese Text Tests XML 1.0 Tests
+Test cases: Sun Microsystems XML Tests
+Test cases: 159 tests
+Test cases: OASIS/NIST XML 1.0 Tests
+Test cases: IBM XML 1.0 Tests
+Test cases: IBM XML 1.1 Tests
+Test cases: Richard Tobin's XML 1.0 2nd edition errata test suite 21 Jul 2003
+Test cases: 34 tests
+Test cases: Richard Tobin's XML 1.1 test suite 13 Feb 2003
+Test cases: 57 tests
+Test cases: Richard Tobin's XML Namespaces 1.0 test suite 14 Feb 2003
+Test cases: 46 tests
+Test cases: Richard Tobin's XML Namespaces 1.1 test suite 14 Feb 2003
+Test cases: 6 tests
+Test cases: Richard Tobin's XML 1.0 3rd edition errata test suite 1 June 2006
+Test cases: 13 tests
+Test cases: University of Edinburgh tests for XML 1.0 5th edition
+Test cases: 392 tests
+Test cases: Richard Tobin's XML Namespaces 1.0/1.1 2nd edition test suite 1 June 2006
+Test cases: 3 tests
+Ran 2269 tests, 15 errors, 0 leaks
+Total 2269 tests, 15 errors, 0 leaks
+See runxmlconf.log for detailed output
+15 errors were expected
+[EnD]
+## running Python regression tests
+[EnD]