Re: Backpatch src/test/modules to 9.3?

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Backpatch src/test/modules to 9.3?
Date: 2015-06-22 02:02:03
Message-ID: CAB7nPqRmTb3jUGdT1fJeWw4Xuy68r3WQ5fxvQAusZE4qddYJkA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 22, 2015 at 1:48 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Andres Freund <andres(at)anarazel(dot)de> writes:
>> When discussing multixacts around pgcon (including the developer
>> meeting) we decided that we want to add test code to make exercising the
>> truncation code easier.
>
>> In master the most logical place for that seems to be src/test/modules.
>> Unfortunately 9.3/9.4 don't have that. Given that the multixact code
>> isn't the same in the backbranches, and will hopefully diverge further,
>> I'd rather have tests there. So maybe we should just add
>> src/test/modules there? These then will not be exercised by the
>> buildfarm, but the affected code isn't particularly platform dependant,
>> so that doesn't worry me much?
>
> Presumably, once the files are there, it would be a simple adjustment
> to get the buildfarm to run those tests in branches >= 9.3 rather
> than >= 9.5. So +1 for back-patching this infrastructure.

And let's not care about MSVC stuff in REL9_4_STABLE and REL9_3_STABLE
as well. The integration of src/test/modules has required some
refactoring of the MSVC scripts as those are basically extensions as
they needed to be identified as such in a path different than
contrib/, note as well that they are included in the installation to
facilitate their testing. And I don't think that we want to backpatch
this heavy refactoring in REL9_4_STABLE and REL9_3_STABLE for
stability's sake. Running them on other platforms is a good plan, so
+1 for having them, without diffs in src/tools/msvc of course. They
will be picked up by MinGW at least on Windows.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2015-06-22 02:21:51 Re: Time to get rid of PQnoPasswordSupplied?
Previous Message Michael Paquier 2015-06-22 01:50:17 Re: SSL TAP tests and chmod