Subject: | Test failure |
Date: | Tue, 28 Mar 2017 12:59:51 +0000 |
To: | bug-Test-postgresql [...] rt.cpan.org |
From: | Sjors Gielen <sjors [...] sjorsgielen.nl> |
I'm trying to install Test::PostgreSQL 1.21 on Ubuntu 16.04 (Perl 5.22.1
with 58 registered patches) using CPAN, and getting the following errors
during the 'make test' step:
TJC/Test-PostgreSQL-1.21.tar.gz
Has already been unwrapped into directory
/home/sjors/.local/share/.cpan/build/Test-PostgreSQL-1.21-76hWTd
TJC/Test-PostgreSQL-1.21.tar.gz
Has already been prepared
Running make for T/TJ/TJC/Test-PostgreSQL-1.21.tar.gz
cp lib/Test/PostgreSQL.pm blib/lib/Test/PostgreSQL.pm
Manifying 1 pod document
TJC/Test-PostgreSQL-1.21.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM"
"-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0,
'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00-base.t .......... 1/1
# Failed test 'use Test::PostgreSQL;'
# at t/00-base.t line 6.
# Tried to use 'Test::PostgreSQL'.
# Error: In method _build_initdb_args: I was expecting a parameter
list, not "{" at
/home/sjors/.local/share/.cpan/build/Test-PostgreSQL-1.21-76hWTd/blib/lib/Test/PostgreSQL.pm
line 109.
# Compilation failed in require at t/00-base.t line 6.
# BEGIN failed--compilation aborted at t/00-base.t line 6.
# Looks like you failed 1 test of 1.
t/00-base.t .......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/01-raii.t .......... In method _build_initdb_args: I was expecting a
parameter list, not "{" at
/home/sjors/.local/share/.cpan/build/Test-PostgreSQL-1.21-76hWTd/blib/lib/Test/PostgreSQL.pm
line 109.
Compilation failed in require at t/01-raii.t line 6.
BEGIN failed--compilation aborted at t/01-raii.t line 6.
t/01-raii.t .......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/02-multi.t ......... In method _build_initdb_args: I was expecting a
parameter list, not "{" at
/home/sjors/.local/share/.cpan/build/Test-PostgreSQL-1.21-76hWTd/blib/lib/Test/PostgreSQL.pm
line 109.
Compilation failed in require at t/02-multi.t line 6.
BEGIN failed--compilation aborted at t/02-multi.t line 6.
t/02-multi.t ......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/04-multiprocess.t .. In method _build_initdb_args: I was expecting a
parameter list, not "{" at
/home/sjors/.local/share/.cpan/build/Test-PostgreSQL-1.21-76hWTd/blib/lib/Test/PostgreSQL.pm
line 109.
Compilation failed in require at t/04-multiprocess.t line 6.
BEGIN failed--compilation aborted at t/04-multiprocess.t line 6.
t/04-multiprocess.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/deadlock.t ......... In method _build_initdb_args: I was expecting a
parameter list, not "{" at
/home/sjors/.local/share/.cpan/build/Test-PostgreSQL-1.21-76hWTd/blib/lib/Test/PostgreSQL.pm
line 109.
Compilation failed in require at t/deadlock.t line 5.
BEGIN failed--compilation aborted at t/deadlock.t line 5.
t/deadlock.t ......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/pod.t .............. skipped: Test::Pod 1.14 required
Test Summary Report
-------------------
t/00-base.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/01-raii.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/02-multi.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/04-multiprocess.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/deadlock.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=6, Tests=1, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.30 cusr 0.02
csys = 0.34 CPU)
Result: FAIL
Failed 5/6 test programs. 1/1 subtests failed.
Makefile:752: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
TJC/Test-PostgreSQL-1.21.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports TJC/Test-PostgreSQL-1.21.tar.gz
Failed during this command:
TJC/Test-PostgreSQL-1.21.tar.gz : make_test NO