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

Lines changed: 1 addition & 2 deletions
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

Lines changed: 4 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy