Improve error output. Use the third parameter of the "catch" command to
authorReid Spencer <rspencer@reidspencer.com>
Thu, 18 May 2006 19:42:16 +0000 (19:42 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 18 May 2006 19:42:16 +0000 (19:42 +0000)
commit8b437e05b5918e81ef5b057e3ce9982e1dd0e392
treed5e5b36ae2fc38ba5eadc7e89fbf7019b2ce1785
parent16abfdfc2229e61a544a75740da995c8a68e7807
Improve error output. Use the third parameter of the "catch" command to
capture the error output from the exec option. This generally will capture
the stderr messages generated by the tools. This information is then
printed if the test fails. This helps to recognize more quickly what the
error was. Otherwise, this information is lost.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28385 91177308-0d34-0410-b5e6-96231b3b80d8
test/lib/llvm-dg.exp