Re: How does MSVC's fetchRegressOpts() work at all? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: How does MSVC's fetchRegressOpts() work at all?
Date
Msg-id 23571.1431970113@sss.pgh.pa.us
Whole thread Raw
In response to Re: How does MSVC's fetchRegressOpts() work at all?  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: How does MSVC's fetchRegressOpts() work at all?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 05/18/2015 12:48 PM, Tom Lane wrote:
>> Looking at vcregress.pl's sub fetchRegressOpts, it seems that it only
>> notices "REGRESS_OPTS =" lines not "REGRESS_OPTS +=" lines, so that
>> isn't surprising --- but how is it that the tests *are* still loading
>> plpythonu and hstore_plpythonu?  I grant that my Perl is weak, but
>> I don't see how this code would ever have dealt with either lines
>> using +=, or multiple assignments to REGRESS_OPTS.  How come it worked
>> before?

> relevant code:

Oh man, that's ugly.

If I were to fix fetchRegressOpts so it picks up all the makefile's
additions to REGRESS_OPTS, would we be able to eliminate that hack?
Or do we need the python-version kluge anyway?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: ERROR: cannot GetMultiXactIdMembers() during recovery
Next
From: Peter Geoghegan
Date:
Subject: Re: Making the regression tests halt to attach a debugger