1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

implemented the checks from section 7.1, fixed some of the 4.20 and 4.21

* relaxng.c: implemented the checks from section 7.1, fixed
  some of the 4.20 and 4.21 problems.
  found 373 test schemas: 338 success 35 failures
  found 529 test instances: 519 success 6 failures
* result/relaxng/*: updated the results
Daniel
This commit is contained in:
Daniel Veillard
2003-02-20 15:03:22 +00:00
parent 1c745ade5d
commit 77648bbe61
3 changed files with 375 additions and 58 deletions

View File

@ -254,9 +254,10 @@ def handle_testCase(node):
global nb_instances_tests
global resources
log.write("\n ============= test %d line %d ================\n" % (
sections = node.xpathEval('string(section)')
log.write("\n ======== test %d line %d section %s ==========\n" % (
nb_schemas_tests, node.lineNo()))
nb_schemas_tests, node.lineNo(), sections))
resources = {}
if debug:
print "test %d line %d" % (nb_schemas_tests, node.lineNo())
@ -320,7 +321,7 @@ def handle_testSuite(node, level = 0):
msg = msg + author.content + " "
print msg
sections = node.xpathEval('section')
if sections != []:
if sections != [] and level <= 0:
msg = ""
for section in sections:
msg = msg + section.content + " "
@ -332,6 +333,10 @@ def handle_testSuite(node, level = 0):
if level >= 1 and sections != []:
msg = ""
for section in sections:
msg = msg + section.content + " "
print "Result of tests for section %s" % (msg)
if nb_schemas_tests != old_schemas_tests:
print "found %d test schemas: %d success %d failures" % (
nb_schemas_tests - old_schemas_tests,