X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Ftest.c;h=afb2b96522ce4c1f582e4fa6771c5c2bb2735c31;hb=e5571ea8efc87c103d98c8633a5b26a0a1df3519;hp=3d11d208464c05f72f885366fa66fd14d45622ce;hpb=9bcd450682e20f0d704d86948bbb0880e414dfb4;p=awesomized%2Flibmemcached diff --git a/libtest/test.c b/libtest/test.c index 3d11d208..afb2b965 100644 --- a/libtest/test.c +++ b/libtest/test.c @@ -10,7 +10,7 @@ Sample test application. */ -#include "config.h" +#include #include @@ -24,9 +24,8 @@ #include #include -#include - #include +#include static void world_stats_print(world_stats_st *stats) { @@ -298,6 +297,9 @@ skip_pre: stats.success++; break; case TEST_FAILURE: +#if 0 + push_failed_test(next->name, run->name); +#endif stats.failed++; failed= true; break; @@ -343,6 +345,9 @@ cleanup: if (stats.collection_failed || stats.collection_skipped) { fprintf(stderr, "Some test failures and/or skipped test occurred.\n\n"); +#if 0 + print_failed_test(); +#endif } else { @@ -363,9 +368,5 @@ cleanup: world_stats_print(&stats); -#ifdef LIBMEMCACHED_WITH_SASL_SUPPORT - sasl_done(); -#endif - return stats.failed == 0 ? 0 : 1; }