plperl regression tests

Started by Reini Urbanover 21 years ago2 messages
#1Reini Urban
rurban@x-ray.at

Is it possible to test for plperl and add some plperl tests to the
regression suite?

I see the pg_regress installs and runs with_perl=no.
The problem is that cygwin postgres builds and runs fine, only the perl
extensions fails (IPC problem when loading the huge perl dll).

So I really would like to add a simple plperl testcase to the standard
distro. Just the sample from the plperl.sgml would be fine.
Any general objections?
I'll come up with a patch if not, which will check if the postmaster has
plperl support and use it then.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

#2Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Reini Urban (#1)
Re: plperl regression tests

Reini Urban wrote:

Is it possible to test for plperl and add some plperl tests to the
regression suite?

I see the pg_regress installs and runs with_perl=no.
The problem is that cygwin postgres builds and runs fine, only the perl
extensions fails (IPC problem when loading the huge perl dll).

So I really would like to add a simple plperl testcase to the standard
distro. Just the sample from the plperl.sgml would be fine.
Any general objections?
I'll come up with a patch if not, which will check if the postmaster has
plperl support and use it then.

Seems fine as long as the test only runs when they have asked for perl
from configure.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073