1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
Description: disable memcached and redis cache tests
Author: Nicolas Mora <babelouest@debian.org>
Forwarded: not-needed
--- a/test/check_cache.c
+++ b/test/check_cache.c
@@ -179,7 +179,7 @@
}
END_TEST
-#ifdef HAVE_LIBMEMCACHE
+#if 0
START_TEST(test_cache_memcache)
{
oauth2_cache_t *c = NULL;
@@ -195,7 +195,7 @@
END_TEST
#endif
-#ifdef HAVE_LIBHIREDIS
+#if 0
START_TEST(test_cache_redis)
{
oauth2_cache_t *c = NULL;
@@ -222,10 +222,10 @@
tcase_add_test(c, test_cache_bogus);
tcase_add_test(c, test_cache_shm);
tcase_add_test(c, test_cache_file);
-#ifdef HAVE_LIBMEMCACHE
+#if 0
tcase_add_test(c, test_cache_memcache);
#endif
-#ifdef HAVE_LIBHIREDIS
+#if 0
tcase_add_test(c, test_cache_redis);
#endif
suite_add_tcase(s, c);
|