RE: [PATCH] Display stderr before throwing exception in the python test suite
From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2006-12-31 13:09:55 CET
Madan,
Somehow I am seeing less use for this patch, I may be wrong!.
IIRC SVNProcessTerminatedBySignal is raised for segfaults and aborts. In both the cases you may not have anything useful in the stderr stream. I have verified the current trunk and could confirm that we never write anything to stderr prior to abort.
May be useful for 'abort invoked through asserts'. Did you encounter such aborts?
With regards
-----Original Message-----
Hi,
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.
This was thrown from run_command_stdin(), if the exit code was not 0. It would have been very convinient to solve the root-cause of failure, if only I could the stderr - if any, at this point.
Please find attached a patch that does this (the patch is for trunk - I can later forward port it to incomplete-directories).
Regards,
|
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.