Re: pgsql: Disable installcheck tests for test_session_hooks

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgsql: Disable installcheck tests for test_session_hooks
Date: 2017-11-16 13:14:51
Message-ID: CAB7nPqT0VxY7gUhNGeTc_kxHb81CSOXVjmiNgZN9OmGTy3P9mg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Thu, Nov 16, 2017 at 3:45 PM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
> On Thu, Nov 16, 2017 at 11:41 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>>> Disable installcheck tests for test_session_hooks
>>
>> This seems not quite right; it's causing warnings like this:
>>
>> $ make -s clean
>> Makefile:25: warning: overriding commands for target `installcheck'
>> ../../../../src/makefiles/pgxs.mk:275: warning: ignoring old commands for target `installcheck'
>
> This is caused by the fact that installcheck gets defined because of
> REGRESS. This stuff should do something similar to what is done in
> contrib/test_decoding/Makefile, and I think that it would be useful to
> have the option to force installcheck on an installation that has all
> the needed parameters set. With this last point, I think that the
> test_session_hooks.sql should drop the roles it created. Attached is a
> cleanup patch (includes fixes for compilation warnings).

Just sending an updated patch to cope with the fact that this module
does not need to define the EXTENSION and DATA fields, and does not
need a sql and a control file..
--
Michael

Attachment Content-Type Size
session_hook_makefile_clean_v2.patch application/octet-stream 5.4 KB

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-11-16 13:46:15 pgsql: Refactor routine to test connection to SSL server
Previous Message Stephen Frost 2017-11-16 12:18:23 Re: pgsql: Add hooks for session start and session end

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2017-11-16 13:17:09 Re: test_session_hooks--1.0.sql file in 'test_session_hooks' needs correction
Previous Message Huong Dangminh 2017-11-16 12:55:13 RE: Re: User defined data types in Logical Replication