diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2005-11-15 08:50:04 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2005-11-15 08:50:04 +0000 |
commit | 93e577f1a1d78f8c2e84dc97d460b46c24c61e5a (patch) | |
tree | 2d655379cf22e7968d5d27f11ad0eb3066790997 | |
parent | 4d3866cf33956c81d87710a233b166ae463863bd (diff) | |
download | android_external_libxml2-93e577f1a1d78f8c2e84dc97d460b46c24c61e5a.tar.gz android_external_libxml2-93e577f1a1d78f8c2e84dc97d460b46c24c61e5a.tar.bz2 android_external_libxml2-93e577f1a1d78f8c2e84dc97d460b46c24c61e5a.zip |
Hisashi Fujinaka pointed that errors in Schemas tests were not properly
* runtest.c: Hisashi Fujinaka pointed that errors in Schemas tests
were not properly reported.
Daniel
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | runtest.c | 6 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Tue Nov 15 09:49:24 CET 2005 Daniel Veillard <daniel@veillard.com> + + * runtest.c: Hisashi Fujinaka pointed that errors in Schemas tests + were not properly reported. + Sun Nov 13 13:42:41 CET 2005 Daniel Veillard <daniel@veillard.com> * xmlIO.c: applied patch from Geert Jansen to remove xmlBufferClose() @@ -2935,6 +2935,8 @@ schemasOneTest(const char *sch, if (compareFileMem(err, testErrors, testErrorsSize)) { fprintf(stderr, "Error for %s on %s failed\n", filename, sch); ret = 1; + } else { + ret = 0; } } @@ -3033,8 +3035,8 @@ schemasTest(const char *filename, nb_tests++; ret = schemasOneTest(filename, instance, result, err, options, schemas); - if (res != 0) - ret = res; + if (ret != 0) + res = ret; } } globfree(&globbuf); |