diff options
author | Raphaël Hertzog <hertzog@debian.org> | 2015-08-25 21:55:55 +0200 |
---|---|---|
committer | Raphaël Hertzog <hertzog@debian.org> | 2015-08-25 21:55:55 +0200 |
commit | 21ee18bdbc9a9d4500e12a1399d51c593b8b31d4 (patch) | |
tree | 35c498d3ec731bcf7b90ce66bce68ecd54659250 /testlimits.c | |
parent | de338c1adfa336ddb5177ceb5c63bcd868a0ebc7 (diff) | |
parent | 7300193becde71a344c8ac0973dc290fa24d800d (diff) | |
download | libxml2-21ee18bdbc9a9d4500e12a1399d51c593b8b31d4.tar.gz |
Merge tag 'upstream/2.9.1+dfsg1'
Upstream version 2.9.1+dfsg1
Diffstat (limited to 'testlimits.c')
-rw-r--r-- | testlimits.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/testlimits.c b/testlimits.c index 577f593..41994c4 100644 --- a/testlimits.c +++ b/testlimits.c @@ -10,8 +10,11 @@ * daniel@veillard.com */ +#ifdef HAVE_CONFIG_H #include "libxml.h" +#else #include <stdio.h> +#endif #if !defined(_WIN32) || defined(__CYGWIN__) #include <unistd.h> @@ -1509,7 +1512,6 @@ launchCrazySAX(unsigned int test, int fail) { return(err); } -#ifdef LIBXML_READER_ENABLED static int launchCrazy(unsigned int test, int fail) { int res = 0, err = 0; @@ -1526,7 +1528,6 @@ launchCrazy(unsigned int test, int fail) { return(err); } -#endif static int get_crazy_fail(int test) { /* @@ -1564,8 +1565,6 @@ runcrazy(void) { old_errors = nb_errors; old_tests = nb_tests; old_leaks = nb_leaks; - -#ifdef LIBXML_READER_ENABLED if (tests_quiet == 0) { printf("## Crazy tests on reader\n"); } @@ -1574,8 +1573,6 @@ runcrazy(void) { if (res != 0) ret++; } -#endif - if (tests_quiet == 0) { printf("\n## Crazy tests on SAX\n"); } |