RE: New unified regression test driver

From: "Frederick W(dot) Reimer" <fwr(at)ga(dot)prestige(dot)net>
To: "'Peter Eisentraut'" <peter_e(at)gmx(dot)net>, "'Lamar Owen'" <lamar(dot)owen(at)wgcr(dot)org>
Cc: "'PostgreSQL Development'" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: RE: New unified regression test driver
Date: 2000-10-05 19:24:53
Message-ID: 001201c02f01$f0987550$bbbcf6d0@reimernet.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

This may sound stupid, but what's wrong with including a binary make
executable in a binary PostgreSQL package? It could be stored in the
regression test directory and then you could write a "standard" regression
test makefile instead of a different "script" for each platform. A compiler
would be out of the question due to its size, but a binary make shouldn't be
too large.

Fred Reimer
Eclipsys Corporation

> -----Original Message-----
> From: pgsql-hackers-owner(at)hub(dot)org
> [mailto:pgsql-hackers-owner(at)hub(dot)org]On
> Behalf Of Peter Eisentraut
> Sent: Thursday, October 05, 2000 1:43 PM
> To: Lamar Owen
> Cc: PostgreSQL Development
> Subject: Re: [HACKERS] New unified regression test driver
>
>
> Lamar Owen writes:
>
> > That said, I have a request -- since the binary distributions might
> > possibly be installed on machines with no make and no
> compiler, I would
> > like to see the regression tests be reduced to a simple script and
> > driver that could be simply invoked with no need for make.
> Binary-only
> > users might want to regress a little, too.
>
> This was originally one of my implementation goals, but it's
> a bit tricky.
> Some of the SQL input files contains absolute paths as part of CREATE
> FUNCTION or COPY commands. We'd have to patch up these paths
> as part of
> the installation run. That's terribly inelegant and it would probably
> break something else I'm thinking about. (Automatically generating
> install manifests by substituting something clever for the
> $(INSTALL) make
> variable. You might be interested in this too. Stay tuned.)
>
> That said, the new script should make things a bit easier for
> you because
> it is reasonably standalone, allows parallel and serial
> regression tests,
> and has command line options to find the input and output
> files. The ugly
> details about how to install the right files I would like to
> leave up to
> the packager right now.
>
> One thing I thought of was that perhaps the regression test
> driver could
> substitute the correct paths at run time rather than at build
> time. But
> that would break backward compatibility with the old drivers,
> and as we
> haven't even settled on the new one yet, it's probably an
> inopportune time
> to try it now.
>
> --
> Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/
>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-10-05 19:28:23 Re: ALTER TABLE DROP COLUMN
Previous Message Frederick W. Reimer 2000-10-05 19:21:20 symbol not found in plpgsql.so