aboutsummaryrefslogtreecommitdiffstats
path: root/check-relaxng-test-suite.py
diff options
context:
space:
mode:
Diffstat (limited to 'check-relaxng-test-suite.py')
-rwxr-xr-xcheck-relaxng-test-suite.py15
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
#