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.
I just had this problem myself again. While I certainly edit the tests
myself to set the problem condition up in some cases, it's also useful
to have the failing output for the cases where the output tells you
exactly what's wrong.
How about this patch?
When executing commands as part of the test framework, if a command
fails due to a signal (coredump, etc), output the stdout and stderr
before raising the exception, to aid debugging.
(run_command_stdin): Write stdout_lines and stderr_lines to stdout
and stderr before raising an exception.
Suggested by: madanus, kameshj
Patch by: djames
Received on Tue Jan 9 15:01:50 2007
- text/plain attachment: patch
- application/pgp-signature attachment: stored