mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Doc: update some things relevant to minimum Test::More version.
Oversights in commit 405f32fc4
.
Also, add a tip (discovered the hard way) about getting Test::More
0.98 to pass its regression tests on recent Linux platforms.
This commit is contained in:
@ -58,8 +58,7 @@ use File::Temp ();
|
|||||||
use IPC::Run;
|
use IPC::Run;
|
||||||
use PostgreSQL::Test::SimpleTee;
|
use PostgreSQL::Test::SimpleTee;
|
||||||
|
|
||||||
# specify a recent enough version of Test::More to support the
|
# We need a version of Test::More recent enough to support subtests
|
||||||
# done_testing() function
|
|
||||||
use Test::More 0.98;
|
use Test::More 0.98;
|
||||||
|
|
||||||
our @EXPORT = qw(
|
our @EXPORT = qw(
|
||||||
|
@ -110,10 +110,13 @@ perlbrew; see http://perlbrew.pl . After installing that, do
|
|||||||
perlbrew --force install 5.8.3
|
perlbrew --force install 5.8.3
|
||||||
perlbrew use 5.8.3
|
perlbrew use 5.8.3
|
||||||
perlbrew install-cpanm
|
perlbrew install-cpanm
|
||||||
cpanm install Test::Simple@0.87_01
|
cpanm install Test::Simple@0.98
|
||||||
cpanm install IPC::Run@0.79
|
cpanm install IPC::Run@0.79
|
||||||
cpanm install ExtUtils::MakeMaker@6.50 # downgrade
|
cpanm install ExtUtils::MakeMaker@6.50 # downgrade
|
||||||
|
|
||||||
|
TIP: if Test::Simple's utf8 regression test hangs up, try setting a
|
||||||
|
UTF8-compatible locale, e.g. "export LANG=en_US.utf8".
|
||||||
|
|
||||||
Then re-run Postgres' configure to ensure the correct Perl is used when
|
Then re-run Postgres' configure to ensure the correct Perl is used when
|
||||||
running tests. To verify that the right Perl was found:
|
running tests. To verify that the right Perl was found:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user