diff options
Diffstat (limited to 'runtest.c')
-rw-r--r-- | runtest.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1679,7 +1679,8 @@ saxParseTest(const char *filename, const char *result, } if (ret != 0) { fprintf(stderr, "Failed to parse %s\n", filename); - return(1); + ret = 1; + goto done; } #ifdef LIBXML_HTML_ENABLED if (options & XML_PARSE_HTML) { @@ -1701,6 +1702,8 @@ saxParseTest(const char *filename, const char *result, fprintf(stderr, "Got a difference for %s\n", filename); ret = 1; } + +done: if (temp != NULL) { unlink(temp); free(temp); |