mirror of
https://github.com/postgres/postgres.git
synced 2025-05-17 06:41:24 +03:00
Document recipe for testing compatibility with old Perl.
Craig Ringer, reviewed by Kyotaro HORIGUCHI and Michael Paquier.
This commit is contained in:
parent
54aa6ccfc5
commit
d61aa6ae65
@ -64,3 +64,21 @@ For available PostgreSQL-specific test methods and some example tests read the
|
|||||||
perldoc for the test modules, e.g.:
|
perldoc for the test modules, e.g.:
|
||||||
|
|
||||||
perldoc src/test/perl/PostgresNode.pm
|
perldoc src/test/perl/PostgresNode.pm
|
||||||
|
|
||||||
|
Required Perl
|
||||||
|
-------------
|
||||||
|
|
||||||
|
Tests must run on perl 5.8.0 and newer. perlbrew is a good way to obtain such
|
||||||
|
a Perl; see http://perlbrew.pl .
|
||||||
|
|
||||||
|
Just install and
|
||||||
|
|
||||||
|
perlbrew --force install 5.8.0
|
||||||
|
perlbrew use 5.8.0
|
||||||
|
perlbrew install-cpanm
|
||||||
|
cpanm install IPC::Run
|
||||||
|
|
||||||
|
then re-run configure to ensure the correct Perl is used when running
|
||||||
|
tests. To verify that the right Perl was found:
|
||||||
|
|
||||||
|
grep ^PERL= config.log
|
||||||
|
Loading…
x
Reference in New Issue
Block a user