Sample test application.
*/
-#include <mem_config.h>
-#include <libtest/test.hpp>
+#include "mem_config.h"
+#include "libtest/test.hpp"
using namespace libtest;
-#include <libmemcached-1.0/memcached.h>
-#include <libmemcached/server_instance.h>
-#include <libmemcached/io.h>
-#include <libmemcached/udp.hpp>
-#include <libmemcachedutil-1.0/util.h>
+#include "libmemcached-1.0/memcached.h"
+#include "libmemcached/server_instance.h"
+#include "libmemcached/io.h"
+#include "libmemcached/udp.hpp"
+#include "libmemcachedutil-1.0/util.h"
#include <cstdio>
#include <cstdlib>
#include <unistd.h>
#include <time.h>
-#include <libtest/server.h>
+#include "libtest/server.h"
#include "libmemcached/instance.hpp"
static test_return_t init_udp_valgrind(memcached_st *memc)
{
- if (getenv("TESTS_ENVIRONMENT"))
+ if (getenv("LOG_COMPILER"))
{
return TEST_SKIPPED;
}
static test_return_t binary_init_udp(memcached_st *memc)
{
- if (getenv("TESTS_ENVIRONMENT"))
+ if (getenv("LOG_COMPILER"))
{
return TEST_SKIPPED;
}
static test_return_t udp_set_test(memcached_st *memc)
{
// Assume we are running under valgrind, and bail
- if (getenv("TESTS_ENVIRONMENT"))
+ if (getenv("LOG_COMPILER"))
{
return TEST_SUCCESS;
}
increment_request_id(&expected_ids[x]);
}
- test_compare(MEMCACHED_SUCCESS, memcached_verbosity(memc, 3));
+ test_compare(MEMCACHED_SUCCESS, memcached_verbosity(memc, 0));
return post_udp_op_check(memc, expected_ids);
}