
We /really/ need to add regression tests for the PLs if it is at
all possible.

Does it make sense to sed the $with_tcl, $with_perl, and $with_python 
values into the pg_regress script after modifying it to to 
"createlang" the appropriate language when the corresponing with_lang
option is "yes", then add the test name to $extra_tests.

This is basically how we handle plpgsql in the tests, except that 
plpgsql is not run as an $extra_test.  It makes more sense to use
the $extra_tests facility for the optional PLs.

thanks.
  brent

-- 
"Develop your talent, man, and leave the world something. Records are 
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing."  -- Duane Allman

Mon, 21 Jan 2002 06:29:12 -0500
Brent Verner <brent@rcfile.org>
adding regression tests for PLs
Brent Verner writes:

> We /really/ need to add regression tests for the PLs if it is at
> all possible.

Yes.

> Does it make sense to sed the $with_tcl, $with_perl, and $with_python
> values into the pg_regress script after modifying it to to
> "createlang" the appropriate language when the corresponing with_lang
> option is "yes", then add the test name to $extra_tests.

That sounds reasonable.  In the next release we'll probably end up having
all configured languages installed by default, so you don't need to worry
about the createlang part too much.

If you want to start designing test cases, feel free.

-- 
Peter Eisentraut   peter_e@gmx.net


Mon, 21 Jan 2002 11:46:14 -0500 (EST)
Peter Eisentraut <peter_e@gmx.net>
Re: adding regression tests for PLs
Peter Eisentraut <peter_e@gmx.net> writes:
> If you want to start designing test cases, feel free.

Note there already is a pltcl test in src/pl/tcl/test.
Pretty basic probably, but you might as well start with that.

			regards, tom lane

Mon, 21 Jan 2002 16:36:47 -0500
Tom Lane <tgl@sss.pgh.pa.us>
Re: adding regression tests for PLs 