Re: [HACKERS] regression tests - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] regression tests
Date
Msg-id Pine.GSO.4.02A.9911171215150.29920-100000@Lodjur.DoCS.UU.SE
Whole thread Raw
In response to regression tests  (wieck@debis.com (Jan Wieck))
Responses Re: [HACKERS] regression tests
List pgsql-hackers
On Wed, 17 Nov 1999, Jan Wieck wrote:

>     I  know  that  it's  the  new  psql output format why all the
>     regression tests currently fail. But I think we are  in  this
>     state  for  a  little too long now. With the latest CVS I got

As I mentioned before: use the old psql for regression tests and/or just
run the regression tests once with the old one and once with the new one
and make those results the new reference. (Maybe I'm oversimplifying here,
though.)

Once again this thought also: How about running the regression tests on a
single user postgres backend directly? That way you don't rely on some
obscure frontend and some client library which might change soon, too.
Also you have more control over internals. Finally, you could easily run
the regression tests on an uninstalled build. Think ./configure; make;
make check; make install. Or am I way out there now?

>     I see a little problem with checking if the output  is  still
>     O.K.  too.   It  seems  that  psql  now buffers all the query
>     result messages until a SELECT is done. So if the  regression
>     input  contains only INSERT/UPDATE/DELETE statements, all the
>     responses are at the end, not after each statement.

Huh? psql doesn't buffer anything. Could you please elaborate on this
and/or give me an example? I never heard of that one and I thought Bruce
was a really thorough tester . . .

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] RE: Unique indexes on system tables
Next
From: wieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] regression tests