Re: Improving log capture of TAP tests with IPC::Run

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Erik Rijkers <er(at)xs4all(dot)nl>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Improving log capture of TAP tests with IPC::Run
Date: 2015-06-25 08:11:50
Message-ID: CAB7nPqRC5nrbP7pv9jd1OwZ2YmsLu6pmxu+bMy=Wt3aFO=EAvw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jun 25, 2015 at 3:59 PM, Erik Rijkers <er(at)xs4all(dot)nl> wrote:
> IPC::Run is not in perl core and will not always be available.
> It looks like this patch doesn't take this into account (when no IPC::Run skip the test or whatever)
> Shouldn't that be changed?

Yes, there have been discussions on the matter already:
http://www.postgresql.org/message-id/20141102190024.GA538247@tornado.leadboat.com
We may want to be able to capture easily the outputs of stdout and
stderr as well though and not only get the exit code. That looks
important to improve the debuggability of the whole thing when kicking
in commands. And to have that working on Windows as well..
Regards,
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2015-06-25 08:20:25 Re: Oh, this is embarrassing: init file logic is still broken
Previous Message Erik Rijkers 2015-06-25 06:59:42 Re: Improving log capture of TAP tests with IPC::Run