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

Re: [PATCH] Display stderr before throwing exception in the python test suite

From: Daniel Rall <dlr_at_collab.net>
Date: 2007-01-02 23:39:01 CET

On Tue, 02 Jan 2007, Malcolm Rowe wrote:

> On Sun, Dec 31, 2006 at 09:35:15AM +0530, Madan U S wrote:
> > I was stuck with a failure of checkout_tests in the incomplete-directories branch, because the test was throwing an exception 'EXCEPTION: SVNProcessTerminatedBySignal', but I had no clue what was failing.
>
> Without commenting on the implementation, I'd find something like this
> useful as well, particularly for tracking down assertion failures.

When dealing with segfaults like this, I usually run just that test in
--verbose mode, figure out what line it's failing on based on the
output, re-run the test with a local edit which makes it stop before
attempting the behavior that segfaults (performing the set up for me),
then run just the failing command in the debugger.

Something which simplified this process would be great. With some
tests, there's sometimes not enough output to determine exactly where
a failure occurs with a println-based binary search through the test.

  • application/pgp-signature attachment: stored
Received on Tue Jan 2 23:39:12 2007

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.