Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit92e7079

Browse files
committed
Doc: update some things relevant to minimum Test::More version.
Oversights in commit405f32f.Also, add a tip (discovered the hard way) about getting Test::More0.98 to pass its regression tests on recent Linux platforms.
1 parent405f32f commit92e7079

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)

[8]ページ先頭

©2009-2025 Movatter.jp