aboutsummaryrefslogtreecommitdiffstats
path: root/runtest.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-10-18 19:11:55 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-10-18 19:11:55 +0000
commit567a45b5e931388acf850d56f937f1f66ff0f860 (patch)
tree7d91039c6636668fef211c2b43a72a1a6b779279 /runtest.c
parentee8e8ae963511bc896ea9f289cca5cad08ffe995 (diff)
downloadandroid_external_libxml2-567a45b5e931388acf850d56f937f1f66ff0f860.tar.gz
android_external_libxml2-567a45b5e931388acf850d56f937f1f66ff0f860.tar.bz2
android_external_libxml2-567a45b5e931388acf850d56f937f1f66ff0f860.zip
removed the error message removed 2 instability warnings from function
* runtest.c: removed the error message * relaxng.c xmlschemas.c: removed 2 instability warnings from function documentation * include/libxml/schemasInternals.h: changed warning about API stability * xmlregexp.c: trying to improve runtime execution of non-deterministic regexps and automata. Not fully finished but should be way better. Daniel
Diffstat (limited to 'runtest.c')
-rw-r--r--runtest.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtest.c b/runtest.c
index 897cb9b1..dff53c3a 100644
--- a/runtest.c
+++ b/runtest.c
@@ -2926,14 +2926,13 @@ schemasOneTest(const char *sch,
unlink(temp);
free(temp);
- if (err != NULL) {
+ if ((ret != 0) && (err != NULL)) {
if (compareFileMem(err, testErrors, testErrorsSize)) {
fprintf(stderr, "Error for %s on %s failed\n", filename, sch);
ret = 1;
}
}
-
xmlSchemaFreeValidCtxt(ctxt);
xmlFreeDoc(doc);
return(ret);