You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Rall <dl...@finemaltcoding.com> on 2003/02/22 03:28:20 UTC

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

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 <dl...@finemaltcoding.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org