more validation test fixups added duration info for the tests Daniel
* SAX.c parser.c valid.c: more validation test fixups
* check-xml-test-suite.py: added duration info for the tests
Daniel
diff --git a/check-xml-test-suite.py b/check-xml-test-suite.py
index 248367d..1929b70 100755
--- a/check-xml-test-suite.py
+++ b/check-xml-test-suite.py
@@ -1,5 +1,6 @@
#!/usr/bin/python
import sys
+import time
import os
import string
sys.path.append("python")
@@ -358,6 +359,8 @@
if profile != None:
print profile
+start = time.time()
+
case = testsuite.children
while case != None:
global test_nr
@@ -379,5 +382,5 @@
conf.freeDoc()
log.close()
-print "Ran %d tests: %d suceeded, %d failed and %d generated an error" % (
- test_nr, test_succeed, test_failed, test_error)
+print "Ran %d tests: %d suceeded, %d failed and %d generated an error in %.2f s." % (
+ test_nr, test_succeed, test_failed, test_error, time.time() - start)