Author: stsp
Date: Sat May 21 18:15:37 2011
New Revision: 1125761

URL: http://svn.apache.org/viewvc?rev=1125761&view=rev
Log:
* subversion/tests/libsvn_subr/cache-test.c
  (test_funcs): Mark test_membuffer_cache_basic XFAIL if APR was compiled
   without support for threads. Fixes the following test failure:
      subversion/tests/libsvn_subr/cache-test.c:186: (apr_err=70023)
      subversion/libsvn_subr/cache-membuffer.c:1095: (apr_err=70023)
      svn_tests: E070023: APR doesn't support threads: This function \
        has not been implemented on this platform
      FAIL:  cache-test 4: basic membuffer svn_cache test

Modified:
    subversion/trunk/subversion/tests/libsvn_subr/cache-test.c

Modified: subversion/trunk/subversion/tests/libsvn_subr/cache-test.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/cache-test.c?rev=1125761&r1=1125760&r2=1125761&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/cache-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/cache-test.c Sat May 21 
18:15:37 2011
@@ -265,7 +265,12 @@ struct svn_test_descriptor_t test_funcs[
                        "basic memcache svn_cache test"),
     SVN_TEST_OPTS_PASS(test_memcache_long_key,
                        "memcache svn_cache with very long keys"),
+#if APR_HAS_THREADS
     SVN_TEST_PASS2(test_membuffer_cache_basic,
                    "basic membuffer svn_cache test"),
+#else
+    SVN_TEST_XFAIL2(test_membuffer_cache_basic,
+                   "basic membuffer svn_cache test"),
+#endif
     SVN_TEST_NULL
   };


Reply via email to