Compile options:

./configure \
  --without-catalog	\
  --without-debug	\
  --without-docbook	\
  --without-ftp		\
  --without-history	\
  --without-http	\
  --without-legacy	\
  --without-mem-debug	\
  --without-push	\
  --without-python	\
  --without-sax1	\
  --without-schemas	\
  --without-schematron	\
  --without-threads	\
  --without-valid

Test output:

# --without-html	compile error, bug 611806
## XML regression tests
## XML regression tests on memory
## XML entity subst regression tests
## XML Namespaces regression tests
## xml:id regression tests
id_err1.xml result
1,2c1 < Object is a Node Set : < Set contains 0 nodes: --- > /tmp/libxml2-2.7.6/.libs/testXPath : XPath/Debug support not compiled in 1,3d0 < ./test/xmlid/id_err1.xml:1: validity error : xml:id : attribute value 0bar is not an NCName < <foo xml:id="0bar"/> < ^
id_err2.xml result
1,6c1 < Object is a Node Set : < Set contains 1 nodes: < 1 ELEMENT foo < ATTRIBUTE id < TEXT < content=bar --- > /tmp/libxml2-2.7.6/.libs/testXPath : XPath/Debug support not compiled in 1,3d0 < ./test/xmlid/id_err2.xml:3: validity error : xml:id : attribute type should be ID < <!ATTLIST foo xml:id CDATA #IMPLIED> < ^
id_tst1.xml result
1,6c1 < Object is a Node Set : < Set contains 1 nodes: < 1 ELEMENT foo < ATTRIBUTE id < TEXT < content=bar --- > /tmp/libxml2-2.7.6/.libs/testXPath : XPath/Debug support not compiled in
id_tst2.xml result
1,6c1 < Object is a Node Set : < Set contains 1 nodes: < 1 ELEMENT foo < ATTRIBUTE id < TEXT < content=bar --- > /tmp/libxml2-2.7.6/.libs/testXPath : XPath/Debug support not compiled in 1,3d0 < ./test/xmlid/id_tst2.xml:1: namespace error : Namespace prefix n on foo is not defined < <n:foo xml:id="bar"/> < ^
id_tst3.xml result
1,6c1 < Object is a Node Set : < Set contains 1 nodes: < 1 ELEMENT o:o < ATTRIBUTE id < TEXT < content=bar --- > /tmp/libxml2-2.7.6/.libs/testXPath : XPath/Debug support not compiled in 1,6d0 < ./test/xmlid/id_tst3.xml:1: namespace error : Failed to parse QName 'f:o:' < <f:o:o xml:id="bar"/> < ^ < ./test/xmlid/id_tst3.xml:1: namespace error : Namespace prefix f on o:o is not defined < <f:o:o xml:id="bar"/> < ^
id_tst4.xml result
1,6c1 < Object is a Node Set : < Set contains 1 nodes: < 1 ELEMENT foo < ATTRIBUTE id < TEXT < content=bar --- > /tmp/libxml2-2.7.6/.libs/testXPath : XPath/Debug support not compiled in 1,3d0 < ./test/xmlid/id_tst4.xml:3: element err: validity error : ID bar already defined < <err xml:id="bar"/> < ^
## Error cases regression tests
attr3.xml result
1,3d0 < ./test/errors/attr3.xml:4: validity warning : Attribute a1 of element doc: already defined < <!ATTLIST doc a1 CDATA "z1"> < ^
## Error cases stream regression tests
attr3.xml result
1,3d0 < ./test/errors/attr3.xml:4: validity warning : Attribute a1 of element doc: already defined < <!ATTLIST doc a1 CDATA "z1"> < ^
## Running the API regression tests this may take a little while
Total: 942 functions, 279154 tests, 0 errors
## Reader regression tests
## Reader on memory regression tests
## Walker regression tests
## Reader entities substitution regression tests
## XML push regression tests
## HTML regression tests
## Push HTML regression tests
## HTML SAX regression tests
## Push HTML SAX regression tests
## URI module regression tests
## Pattern regression tests
## XPath regression tests
Skipping debug not compiled in
## XPointer regression tests
Skipping debug not compiled in
## XInclude regression tests
## XInclude xmlReader regression tests
## C14N and XPath regression tests
./test/c14n/1-1-without-comments/xmlspace-prop-1.xml:9: parser warning : Invalid value "true" for xml:space : "default" or "preserve" expected
     <ietf:e1 xml:space="true">
                              ^
./test/c14n/1-1-without-comments/xmlspace-prop-2.xml:9: parser warning : Invalid value "true" for xml:space : "default" or "preserve" expected
     <ietf:e1 xml:space="true">
                              ^
./test/c14n/1-1-without-comments/xmlspace-prop-3.xml:9: parser warning : Invalid value "true" for xml:space : "default" or "preserve" expected
     <ietf:e1 xml:space="true">
                              ^
./test/c14n/1-1-without-comments/xmlspace-prop-4.xml:9: parser warning : Invalid value "true" for xml:space : "default" or "preserve" expected
     <ietf:e1 xml:space="true">
                              ^
## Regexp regression tests
bug316338 result
3c3 < C 433 12: Fail --- > C 433 12: Ok
## Formal expresssions regression tests
base result
Unknown option --expr Usage: /tmp/libxml2-2.7.6/.libs/testRegexp [flags] Testing tool for libxml2 string and pattern regexps --debug: switch on debugging --repeat: loop on the operation --input filename: use the given filename for regexp --input filename: use the given filename for exp 1,85c1,84 < Expression: a < Subexp: a => accept, Ok < Subexp: a | a => accept, Ok < Subexp: b => reject, Ok < Expression: a|b < Subexp: a => accept, Ok < Subexp: b => accept, Ok < Subexp: a | b => accept, Ok < Subexp: a{0} => reject, Ok < Subexp: b{0} => reject, Ok < Expression: a | b | a < Subexp: a => accept, Ok < Subexp: b => accept, Ok < Subexp: a | b => accept, Ok < Subexp: b | a => accept, Ok < Subexp: a | b | b => accept, Ok < Subexp: a | b | a => accept, Ok < Subexp: b | a | b => accept, Ok < Expression: a,a < Subexp: a,a => accept, Ok < Subexp: a => reject, Ok < Subexp: a,a,a => reject, Ok < Expression: a{0,3} < Subexp: a{3} => accept, Ok < Subexp: a => accept, Ok < Subexp: a,a,a => accept, Ok < Subexp: a{1,3} => accept, Ok < Expression: (a|b){0,4} < Subexp: a => accept, Ok < Subexp: b => accept, Ok < Subexp: a,b => accept, Ok < Subexp: a,b,a,b => accept, Ok < Subexp: b,a,b,a,b => reject, Ok < Subexp: b,a{1,3} => accept, Ok < Subexp: a{1,3},b => accept, Ok < Subexp: a{1,3},b,a => reject, Ok < Subexp: a{1,4},b => reject, Ok < Subexp: a{0,5} => reject, Ok < Subexp: (b|a){0,4} => accept, Ok < Subexp: (b|a){0,4},a => reject, Ok < Subexp: (a,b){0,2} => accept, Ok < Subexp: (a,b){0,1},b => accept, Ok < Expression: acconfig.h acinclude.m4 aclocal.m4 < Subexp: a => accept, Ok < Subexp: a? => accept, Ok < Subexp: a+ => accept, Ok < Subexp: acconfig.h acinclude.m4 aclocal.m4 => accept, Ok < Subexp: a{0} => accept, Ok < Expression: a+ < Subexp: a => accept, Ok < Subexp: a? => reject, Ok < Subexp: a+ => accept, Ok < Subexp: acconfig.h acinclude.m4 aclocal.m4 => reject, Ok < Subexp: a?,a => accept, Ok < Subexp: a,a* => accept, Ok < Subexp: a*,a => accept, Ok < Subexp: a?,a*,a => accept, Ok < Subexp: a*,a?,a => accept, Ok < Expression: (a|b)* < Subexp: a => accept, Ok < Subexp: b => accept, Ok < Subexp: a,b => accept, Ok < Subexp: a,b,a,b => accept, Ok < Subexp: (b|a){0,4} => accept, Ok < Subexp: (b|a){0,4},a => accept, Ok < Subexp: acconfig.h acinclude.m4 aclocal.m4 => accept, Ok < Subexp: bakefile => accept, Ok < Subexp: (a|b)* => accept, Ok < Subexp: a{1,3} => accept, Ok < Subexp: b,a{1,3} => accept, Ok < Subexp: a{1,3},b => accept, Ok < Subexp: a*,(a|b)* => accept, Ok < Subexp: a*,b{2,5} => accept, Ok < Subexp: a*,(a|b)*,b{2,5} => accept, Ok < Expression: (a|b)+,(c|d) < Subexp: a+,c => accept, Ok < Subexp: a*,c => reject, Ok < Subexp: a,c => accept, Ok < Subexp: a,b*,a*,c => accept, Ok < Expression: (a|b),(a|c){0,100} < Subexp: a{0,100},(a|c) => accept, Ok < Subexp: a{0,101},(a|c) => reject, Ok < Expression: (a, ((b, c, d){0,5}, e{0,1}){0,4}, f) < Subexp: (a, b, (c, d, b){2,3}, c, d, e, f) => accept, Ok < Ops: 0 nodes, 221 cons --- > Regexp: a > 1 a: Fail > 1 a | a: Fail > 0 b: Fail > Regexp: a|b > 1 a: Fail > 1 b: Fail > 1 a | b: Fail > 0 a{0}: Fail > 0 b{0}: Fail > Regexp: a | b | a > 1 a: Fail > 1 b: Fail > 1 a | b: Fail > 1 b | a: Fail > 1 a | b | b: Fail > 1 a | b | a: Fail > 1 b | a | b: Fail > Regexp: a,a > 1 a,a: Fail > 0 a: Fail > 0 a,a,a: Fail > Regexp: a{0,3} > 1 a{3}: Fail > 1 a: Fail > 1 a,a,a: Fail > 1 a{1,3}: Fail > Regexp: (a|b){0,4} > 1 a: Fail > 1 b: Fail > 1 a,b: Fail > 1 a,b,a,b: Fail > 0 b,a,b,a,b: Fail > 1 b,a{1,3}: Fail > 1 a{1,3},b: Fail > 0 a{1,3},b,a: Fail > 0 a{1,4},b: Fail > 0 a{0,5}: Fail > 1 (b|a){0,4}: Fail > 0 (b|a){0,4},a: Fail > 1 (a,b){0,2}: Fail > 1 (a,b){0,1},b: Fail > Regexp: acconfig.h acinclude.m4 aclocal.m4 > 1 a: Fail > 1 a?: Fail > 1 a+: Fail > 1 a*: Fail > 1 a{0}: Fail > Regexp: a+ > 1 a: Fail > 0 a?: Fail > 1 a+: Fail > 0 a*: Fail > 1 a?,a: Fail > 1 a,a*: Fail > 1 a*,a: Fail > 1 a?,a*,a: Fail > 1 a*,a?,a: Fail > Regexp: (a|b)* > 1 a: Fail > 1 b: Fail > 1 a,b: Fail > 1 a,b,a,b: Fail > 1 (b|a){0,4}: Fail > 1 (b|a){0,4},a: Fail > 1 a*: Fail > 1 b*: Fail > 1 (a|b)*: Fail > 1 a{1,3}: Fail > 1 b,a{1,3}: Fail > 1 a{1,3},b: Fail > 1 a*,(a|b)*: Fail > 1 a*,b{2,5}: Fail > 1 a*,(a|b)*,b{2,5}: Fail > Regexp: (a|b)+,(c|d) > 1 a+,c: Fail > 0 a*,c: Fail > 1 a,c: Fail > 1 a,b*,a*,c: Fail > Regexp: (a|b),(a|c){0,100} > 1 a{0,100},(a|c): Fail > 0 a{0,101},(a|c): Fail > Regexp: (a, ((b, c, d){0,5}, e{0,1}){0,4}, f) > 1 (a, b, (c, d, b){2,3}, c, d, e, f): Fail
## Automata regression tests
## Timing tests to try to detect performance
## as well a memory usage breakage when streaming
## 1/ using the file interface
## 2/ using the memory interface
## 3/ repeated DOM parsing
## 4/ repeated DOM validation
Parsing took 344 ms
Parsing took 310 ms
100 iterations took 557 ms
## Module tests
Success!
make[1]: Entering directory `/tmp/libxml2-2.7.6/doc/examples'
## examples regression tests
XPath support not compiled in
0a1,30
> <?xml version="1.0"?>
> <doc>
>   <parent>
>     <discarded>discarded</discarded>
>     <preserved/>
>     This text node must be discarded
>     <discarded>discarded</discarded>
>     <preserved>
>       content1
>       <child1/>
>       <child2>content2</child2>
>       <preserved>too</preserved>
>       <child2>content3</child2>
>       <preserved/>
>       <child2>content4</child2>
>       <preserved/>
>       <child2>content5</child2>
>       content6
>     </preserved>
>     This text node must be discarded
>     <discarded>discarded</discarded>
>     This text node must be discarded
>     <preserved/>
>     This text node must be discarded
>     <preserved/>
>     This text node must be discarded
>     <discarded>discarded</discarded>
>     This text node must be discarded
>   </parent>
> </doc>
4c4
<   <list xml:base="sql://select_name_from_people"><people>a</people><people>b</people></list>
---
>   <list><people>a</people><people>b</people></list>
XPath support not compiled in
0a1,5
> Result (4 nodes):
> = element node "child2"
> = element node "child2"
> = element node "child2"
> = element node "child2"
make[1]: Leaving directory `/tmp/libxml2-2.7.6/doc/examples'
