Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d61aa6a

Browse files
committed
Document recipe for testing compatibility with old Perl.
Craig Ringer, reviewed by Kyotaro HORIGUCHI and Michael Paquier.
1 parent 54aa6cc commit d61aa6a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/test/perl/README

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,21 @@ For available PostgreSQL-specific test methods and some example tests read the
6464
perldoc for the test modules, e.g.:
6565

6666
perldoc src/test/perl/PostgresNode.pm
67+
68+
Required Perl
69+
-------------
70+
71+
Tests must run on perl 5.8.0 and newer. perlbrew is a good way to obtain such
72+
a Perl; see http://perlbrew.pl .
73+
74+
Just install and
75+
76+
perlbrew --force install 5.8.0
77+
perlbrew use 5.8.0
78+
perlbrew install-cpanm
79+
cpanm install IPC::Run
80+
81+
then re-run configure to ensure the correct Perl is used when running
82+
tests. To verify that the right Perl was found:
83+
84+
grep ^PERL= config.log

0 commit comments

Comments
 (0)