RPMs and regression tests (was Re: v7.2b3 packaged...) - Mailing list pgsql-hackers

From Tom Lane
Subject RPMs and regression tests (was Re: v7.2b3 packaged...)
Date
Msg-id 13473.1006559723@sss.pgh.pa.us
Whole thread Raw
In response to Re: v7.2b3 packaged, but not announced beyond here yet ...  (Horst Herb <hherb@malleenet.net.au>)
Responses Re: RPMs and regression tests (was Re: v7.2b3 packaged...)
Re: RPMs and regression tests (was Re: v7.2b3 packaged...)
List pgsql-hackers
Horst Herb <hherb@malleenet.net.au> writes:
> I assumed that the purpose of a regression test is to verify that software 
> is doing what it is supposed to do on the system it as installed.

So it is.  What Lamar is proposing to provide as part of the RPMs is not
usable for that purpose, at least not easily.  That's why I'm not happy.

A possible solution is to give pg_regress.sh a third behavior in which
it relies on an already-installed set of binaries and library files,
but still initdb's a temporary data area and starts a test postmaster
therein.  That would allow controlling the locale issue in the tested
database.  I'm not sure if this can be done easily enough to make it
a viable answer for 7.2, though.  It's a tad late in the beta cycle
to be contemplating any major surgery on pg_regress.

Peter, any thoughts about how hard that might be?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Horst Herb
Date:
Subject: Re: v7.2b3 packaged, but not announced beyond here yet ...
Next
From: Tatsuo Ishii
Date:
Subject: Re: OCTET_LENGTH is wrong