summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Misch2016-12-04 05:16:55 +0000
committerNoah Misch2016-12-04 05:16:55 +0000
commitd61aa6ae655a37d757b68d20ad18a4683c280c14 (patch)
tree38ec802a39ec76a63af3484f476d1c5af4349339
parent54aa6ccfc51414b94a2363be6302efb0f911b692 (diff)
Document recipe for testing compatibility with old Perl.
Craig Ringer, reviewed by Kyotaro HORIGUCHI and Michael Paquier.
-rw-r--r--src/test/perl/README18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/perl/README b/src/test/perl/README
index cfb45a1547..f28e3ce469 100644
--- a/src/test/perl/README
+++ b/src/test/perl/README
@@ -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