~brianaker/libmemcached/gear-clean

« back to all changes in this revision

Viewing changes to libtest/unittest.cc

Automagic merge of lp:~brianaker/libmemcached/libmemcached-gearman-remove

Show diffs side-by-side

added added

removed removed

Lines of Context:
882
882
  return TEST_SUCCESS;
883
883
}
884
884
 
 
885
#pragma GCC diagnostic ignored "-Wunused-function"
885
886
static test_return_t check_dns_TEST(void *)
886
887
{
887
888
  test_warn(libtest::check_dns(), "Broken DNS server/no DNS server found");
888
889
 
889
890
  return TEST_SUCCESS;
890
891
}
 
892
# pragma GCC diagnostic pop
891
893
 
892
894
static test_return_t Timer_TEST(void *)
893
895
{
1142
1144
test_st dns_TESTS[] ={
1143
1145
  {"libtest::lookup(true)", 0, lookup_true_TEST },
1144
1146
  {"libtest::lookup(false)", 0, lookup_false_TEST },
 
1147
#if 0
1145
1148
  {"libtest::check_dns()", 0, check_dns_TEST },
 
1149
#endif
1146
1150
  {0, 0, 0}
1147
1151
};
1148
1152