Re: [HACKERS] regression tests

From: Peter Eisentraut <e99re41(at)DoCS(dot)UU(dot)SE>
To: Jan Wieck <wieck(at)debis(dot)com>
Cc: PostgreSQL HACKERS <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] regression tests
Date: 1999-11-17 11:22:11
Message-ID: Pine.GSO.4.02A.9911171215150.29920-100000@Lodjur.DoCS.UU.SE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1999-11-17 11:46:29 Re: [HACKERS] regression tests
Previous Message Peter Eisentraut 1999-11-17 11:11:39 Re: [HACKERS] RE: Unique indexes on system tables