Improving log capture of TAP tests with IPC::Run - Mailing list pgsql-hackers

From Michael Paquier
Subject Improving log capture of TAP tests with IPC::Run
Date
Msg-id CAB7nPqT1R2jEVWW3DoXaV9hBLgYED_hYBRXtfJd7DzGjVxWpZQ@mail.gmail.com
Whole thread Raw
Responses Re: Improving log capture of TAP tests with IPC::Run  ("Erik Rijkers" <er@xs4all.nl>)
Re: Improving log capture of TAP tests with IPC::Run  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
Hi all,

After looking at the issues with the TAP test suite that hamster faced
a couple of days ago, which is what has been discussed on this thread:
http://www.postgresql.org/message-id/13002.1434307025@sss.pgh.pa.us

I have developed a patch to improve log capture of the TAP tests by
being able to collect stderr and stdout output of each command run in
the tests by using more extensively IPC::Run::run (instead of system()
that is not able to help much) that has already been sent on the
thread above.

This patch looks worth having in the TAP suite to track problems,
hence this thread dedicated to it. The patch has been added as well to
the next CF.
Regards,
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: 9.5 release notes
Next
From: Noah Misch
Date:
Subject: Re: git push hook to check for outdated timestamps