Re: 'make check' fails - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 'make check' fails
Date
Msg-id 18166.1523466296@sss.pgh.pa.us
Whole thread Raw
In response to Re: 'make check' fails  (Bruce Momjian <bruce@momjian.us>)
Responses Re: 'make check' fails  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> On Wed, Apr 11, 2018 at 12:35:41PM -0400, Tom Lane wrote:
>> We can fix this by making submake-generated-headers be a recursive
>> prerequisite for "check" as well as "all" and "install".  I wonder
>> whether anybody is expecting any other shortcuts to work.

> In case it wasn't clear, I can reproduce this failure without parallel
> mode.  FYI, the reason I used this shortcut is so I can just run one
> command and check one error code to know if they all worked;  see
> src/tools/pgtest for an example.

Probably, you got out of the habit of using parallel mode because it
fell over from time to time.  The way things were done before, there
were race conditions in this usage, due to different subdirectories
independently trying to update the same generated headers.

Will commit a fix in a bit.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Creation of wiki page for open items of v11
Next
From: Alvaro Herrera
Date:
Subject: Re: Creation of wiki page for open items of v11