[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 5005 - trunk/subversion/tests/clients/cmdline/svntest

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2003-02-22 04:28:20 CET

sussman@tigris.org writes:

> Author: sussman
> Date: 2003-02-21 10:54:10 -0600 (Fri, 21 Feb 2003)
> New Revision: 5005
>
> Modified:
> trunk/subversion/tests/clients/cmdline/svntest/testcase.py
> Log:
>
> * testcase.py (TestCase::run): catch the SystemExit exception and
> really exit. This prevents us from finishing run_tests() and
> destroying the local_tmp/ area, which sometimes need for debugging.
>
>
>
> Modified: trunk/subversion/tests/clients/cmdline/svntest/testcase.py
> ==============================================================================
> --- trunk/subversion/tests/clients/cmdline/svntest/testcase.py (original)
> +++ trunk/subversion/tests/clients/cmdline/svntest/testcase.py Fri Feb 21 10:54:15 2003
> @@ -84,6 +84,9 @@
> except KeyboardInterrupt:
> print "Interrupted"
> sys.exit(0)
> + except SystemExit:
> + print "Got a SystemExit exception, exiting."
> + sys.exit(0)
> except:
> print "caught unexpected exception"
> traceback.print_exc(file=sys.stdout)

Is there really value in that println?

-- 
Daniel Rall <dlr@finemaltcoding.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 22 04:28:50 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.