diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-11-21 11:49:16 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-11-21 11:49:16 -0500 |
commit | 92e70796e91e2f9086fad0156e0e91513e54a66b (patch) | |
tree | 384e9a2d5d2da0c20ee4c269571884364e5d2b18 /src | |
parent | 405f32fc49609eb94fa39e7b5e7c1fe2bb2b73aa (diff) | |
download | postgresql-92e70796e91e2f9086fad0156e0e91513e54a66b.tar.gz postgresql-92e70796e91e2f9086fad0156e0e91513e54a66b.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/test/perl/PostgreSQL/Test/Utils.pm | 3 | ||||
-rw-r--r-- | src/test/perl/README | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/test/perl/PostgreSQL/Test/Utils.pm b/src/test/perl/PostgreSQL/Test/Utils.pm index 5a7f8bcb974..378d3f7bc1b 100644 --- a/src/test/perl/PostgreSQL/Test/Utils.pm +++ b/src/test/perl/PostgreSQL/Test/Utils.pm @@ -58,8 +58,7 @@ use File::Temp (); use IPC::Run; use PostgreSQL::Test::SimpleTee; -# specify a recent enough version of Test::More to support the -# done_testing() function +# We need a version of Test::More recent enough to support subtests use Test::More 0.98; our @EXPORT = qw( diff --git a/src/test/perl/README b/src/test/perl/README index 919d4a82799..9e870830cfc 100644 --- a/src/test/perl/README +++ b/src/test/perl/README @@ -110,10 +110,13 @@ perlbrew; see http://perlbrew.pl . After installing that, do perlbrew --force install 5.8.3 perlbrew use 5.8.3 perlbrew install-cpanm - cpanm install Test::Simple@0.87_01 + cpanm install Test::Simple@0.98 cpanm install IPC::Run@0.79 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 running tests. To verify that the right Perl was found: |