Author: julianfoad
Date: Mon Jun 28 14:09:33 2010
New Revision: 958583
URL: http://svn.apache.org/viewvc?rev=958583&view=rev
Log:
* subversion/tests/svn_test_main.c
(main): Configure the Subversion library to raise an error on assertion
failure, so we can catch it and report a test failure instead of
aborting the test run.
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=958583&r1=958582&r2=958583&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/svn_test_main.c (original)
+++ subversion/trunk/subversion/tests/svn_test_main.c Mon Jun 28 14:09:33 2010
@@ -383,6 +383,8 @@ main(int argc, const char *argv[])
cleanup_pool = svn_pool_create(pool);
test_pool = svn_pool_create(pool);
+ svn_error_set_malfunction_handler(svn_error_raise_on_malfunction);
+
if (argc >= 2) /* notice command-line arguments */
{
if (! strcmp(argv[1], "list") || list_mode)