Skip to content

Commit 92e7079

Browse files
committed
Doc: update some things relevant to minimum Test::More version.
Oversights in commit 405f32f. Also, add a tip (discovered the hard way) about getting Test::More 0.98 to pass its regression tests on recent Linux platforms.
1 parent 405f32f commit 92e7079

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/test/perl/PostgreSQL/Test/Utils.pm

+1-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ use File::Temp ();
5858
use IPC::Run;
5959
use PostgreSQL::Test::SimpleTee;
6060

61-
# specify a recent enough version of Test::More to support the
62-
# done_testing() function
61+
# We need a version of Test::More recent enough to support subtests
6362
use Test::More 0.98;
6463

6564
our @EXPORT = qw(

src/test/perl/README

+4-1
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,13 @@ perlbrew; see http://perlbrew.pl . After installing that, do
110110
perlbrew --force install 5.8.3
111111
perlbrew use 5.8.3
112112
perlbrew install-cpanm
113-
cpanm install Test::Simple@0.87_01
113+
cpanm install Test::Simple@0.98
114114
cpanm install IPC::Run@0.79
115115
cpanm install ExtUtils::MakeMaker@6.50 # downgrade
116116

117+
TIP: if Test::Simple's utf8 regression test hangs up, try setting a
118+
UTF8-compatible locale, e.g. "export LANG=en_US.utf8".
119+
117120
Then re-run Postgres' configure to ensure the correct Perl is used when
118121
running tests. To verify that the right Perl was found:
119122

0 commit comments

Comments
 (0)