X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Frunner.h;h=0d1a767dcfde56d44be320b67b4d4e024ccd7af7;hb=25efe3485198149616820ab4e52d2f18f0abe5a7;hp=a4b1512d62a8e7ebf4dbc7925012e2b2449bf2f5;hpb=5deca7af238185cfb53be80909b45ed807282b26;p=m6w6%2Flibmemcached diff --git a/tests/runner.h b/tests/runner.h index a4b1512d..0d1a767d 100644 --- a/tests/runner.h +++ b/tests/runner.h @@ -40,6 +40,7 @@ #include "tests/libmemcached-1.0/generate.h" #include "tests/memc.h" +#include "tests/print.h" class LibmemcachedRunner : public libtest::Runner { public: @@ -104,15 +105,16 @@ private: { char buffer[BUFSIZ]; - test_compare_got(MEMCACHED_SUCCESS, - libmemcached_check_configuration(container->construct.option_string().c_str(), container->construct.option_string().size(), - buffer, sizeof(buffer)), - container->construct.option_string().c_str()); + test_compare(MEMCACHED_SUCCESS, + libmemcached_check_configuration(container->construct.option_string().c_str(), container->construct.option_string().size(), + buffer, sizeof(buffer))); test_null(container->parent()); container->parent(memcached(container->construct.option_string().c_str(), container->construct.option_string().size())); test_true(container->parent()); +#if 0 test_compare(MEMCACHED_SUCCESS, memcached_version(container->parent())); +#endif if (container->construct.sasl()) {