X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=testlimits.c;h=577f593ce497e4dd298f2d2dc8bc8fdf505b3bcf;hb=e4d6d8b288d946858fd7a64fe266060fd30dc49e;hp=41994c4495793821e481c37a0e5d2dd42e81d4d7;hpb=7714ab7384828d6cda6f950a8d789ee36ca62452;p=platform%2Fupstream%2Flibxml2.git 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 -#endif #if !defined(_WIN32) || defined(__CYGWIN__) #include @@ -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"); }