You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2014/01/15 18:09:59 UTC

svn commit: r1558470 - /subversion/trunk/subversion/tests/svn_test_main.c

Author: rhuijben
Date: Wed Jan 15 17:09:59 2014
New Revision: 1558470

URL: http://svn.apache.org/r1558470
Log:
* subversion/tests/svn_test_main.c
  (main): Following up on r1558468, temporarily enable sqlite logging for
    all C tests, in an attempt to catch an hard to diagnose problem on the
    buildbots.

Modified:
    subversion/trunk/subversion/tests/svn_test_main.c

Modified: subversion/trunk/subversion/tests/svn_test_main.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/svn_test_main.c?rev=1558470&r1=1558469&r2=1558470&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/svn_test_main.c (original)
+++ subversion/trunk/subversion/tests/svn_test_main.c Wed Jan 15 17:09:59 2014
@@ -49,6 +49,7 @@
 #include "private/svn_cmdline_private.h"
 #include "private/svn_atomic.h"
 #include "private/svn_mutex.h"
+#include "private/svn_sqlite.h"
 
 #include "svn_private_config.h"
 
@@ -715,6 +716,11 @@ main(int argc, const char *argv[])
 #endif /* _MSC_VER >= 1400 */
 #endif
 
+  /* Temporary code: Enable Sqlite error log to diagnose buildbot issue.
+     ### Perhaps we should later attach this to an environment variable? */
+  svn_sqlite__dbg_enable_errorlog();
+  /* /Temporary code */
+
   if (err)
     return svn_cmdline_handle_exit_error(err, pool, prog_name);
   while (1)