diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-02-17 17:25:42 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-02-17 17:25:42 +0000 |
commit | 416589ae78f9ea46ef8841559eaa7ded712c0b88 (patch) | |
tree | 0acf47d61633e24a79da6e23fe0beab26308c3ba /check-relaxng-test-suite.py | |
parent | 784b93587b641abbb35dff2f92002aaea1e8945f (diff) | |
download | android_external_libxml2-416589ae78f9ea46ef8841559eaa7ded712c0b88.tar.gz android_external_libxml2-416589ae78f9ea46ef8841559eaa7ded712c0b88.tar.bz2 android_external_libxml2-416589ae78f9ea46ef8841559eaa7ded712c0b88.zip |
more work on the RelaxNG implementation conformance testing. found 373
* relaxng.c check-relaxng-test-suite.py: more work on the
RelaxNG implementation conformance testing.
found 373 test schemas: 284 success 89 failures
found 529 test instances: 448 success 47 failures
* result/relaxng/*: updated the results
Daniel
Diffstat (limited to 'check-relaxng-test-suite.py')
-rwxr-xr-x | check-relaxng-test-suite.py | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/check-relaxng-test-suite.py b/check-relaxng-test-suite.py index 00fe9025..aa6ad153 100755 --- a/check-relaxng-test-suite.py +++ b/check-relaxng-test-suite.py @@ -7,12 +7,13 @@ import StringIO sys.path.append("python") import libxml2 - # # the testsuite description # CONF="test/relaxng/OASIS/spectest.xml" LOG="check-relaxng-test-suite.log" +RES="relaxng-test-results.xml" + log = open(LOG, "w") nb_schemas_tests = 0 @@ -45,7 +46,17 @@ def resolver(URL, ID, ctxt): log.write("resources: %s\n" % (resources)) return None - +# +# Load the previous results +# +#results = {} +#previous = {} +# +#try: +# res = libxml2.parseFile(RES) +#except: +# log.write("Could not parse %s" % (RES)) + # # handle a valid instance # |