On Thu, Dec 3, 2015 at 12:19 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: > BTW, not the fault of this patch in particular, but this example points > up the complaint I've had right along about how opaque TAP test failures > are. How did you dig down to see that error message?
Well, it showed up on my terminal... > Is it even possible to diagnose such a failure from what the buildfarm logs? Yes. If you look at TestLib.pm, stderr/stdout redirection is done in an INIT block, not BEGIN block, and INIT gets executed *after* the code is compiled. FWIW, I recall arguing in favor of adding this redirection logic in BEGIN so as we could get compilation errors directly in the log files... The reason why it is done this way is that it has been argued as well that we should not change the FS in the BEGIN block, but in the INIT block when TestLib.pm is loaded. -- Michael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers