diff options
author | Aron Xu <aron@debian.org> | 2015-09-21 22:58:06 +0800 |
---|---|---|
committer | Aron Xu <aron@debian.org> | 2015-09-21 22:58:06 +0800 |
commit | 2ee13d9e464a1f5daccaff58f5d09d36b7c4f667 (patch) | |
tree | b022967f880b7fb1e56c8cc4c3f200d6ffbc9efd /testlimits.c | |
parent | 7300193becde71a344c8ac0973dc290fa24d800d (diff) | |
download | libxml2-upstream.tar.gz |
Revert "Imported Upstream version 2.9.1+dfsg1"upstream
This reverts commit 7300193becde71a344c8ac0973dc290fa24d800d.
Diffstat (limited to 'testlimits.c')
-rw-r--r-- | testlimits.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/testlimits.c b/testlimits.c index 41994c4..577f593 100644 --- a/testlimits.c +++ b/testlimits.c @@ -10,11 +10,8 @@ * daniel@veillard.com */ -#ifdef HAVE_CONFIG_H #include "libxml.h" -#else #include <stdio.h> -#endif #if !defined(_WIN32) || defined(__CYGWIN__) #include <unistd.h> @@ -1512,6 +1509,7 @@ 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; @@ -1528,6 +1526,7 @@ launchCrazy(unsigned int test, int fail) { return(err); } +#endif static int get_crazy_fail(int test) { /* @@ -1565,6 +1564,8 @@ 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"); } @@ -1573,6 +1574,8 @@ runcrazy(void) { if (res != 0) ret++; } +#endif + if (tests_quiet == 0) { printf("\n## Crazy tests on SAX\n"); } |