Re: Testing plperl<->plperlu interaction - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Testing plperl<->plperlu interaction
Date
Msg-id 24937.1263000009@sss.pgh.pa.us
Whole thread Raw
In response to Re: Testing plperl<->plperlu interaction  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Testing plperl<->plperlu interaction  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> OK, here is a patch that provides for running regression tests for 
> plperlu alone and plperl/plperlu interaction, skipping the latter if 
> it's not supported on the platform, using the test Tim has suggested.

> ! ifeq ($(shell $(PERL) -V:usemultiplicity), usemultiplicity='define';)
> !     REGRESS += plperl_plperlu
> ! endif

Hm ... I wonder how badly this fails if perl isn't present?

Before you say that that won't matter, consider "make clean" etc.
The makefile does have to parse.

It might be sufficient to wrap this test in an "ifneq ($(PERL),)"
or similar.

Also, some commentary connecting this test to plperl.c's support for
two interpreters would be a good thing.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: synchronized snapshots
Next
From: Greg Stark
Date:
Subject: Re: Streaming replication status