Skip to content

Commit

Permalink
Document recipe for testing compatibility with old Perl.
Browse files Browse the repository at this point in the history
Craig Ringer, reviewed by Kyotaro HORIGUCHI and Michael Paquier.
  • Loading branch information
nmisch committed Dec 4, 2016
1 parent 54aa6cc commit d61aa6a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/test/perl/README
Expand Up @@ -64,3 +64,21 @@ For available PostgreSQL-specific test methods and some example tests read the
perldoc for the test modules, e.g.:

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

0 comments on commit d61aa6a

Please sign in to comment.