Subject: | No test plan causes install to fail |
Having no test plan causes the install to fail:
Running make test
PERL_DL_NONLAZY=1 /usr/local/perl5.8.6/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t
t/001-load........................................ok
t/002-captitle-default............................You tried to run a
test without a plan at t/002-captitle-default.t line 14.
BEGIN failed--compilation aborted at t/002-captitle-default.t line 15.
t/002-captitle-default............................ Dubious, test
returned 2 (wstat 512, 0x200)
No subtests run
t/003-captitle-preserve_whitespace................You tried to run a
test without a plan at t/003-captitle-preserve_whitespace.t line 14.
BEGIN failed--compilation aborted at
t/003-captitle-preserve_whitespace.t line 15.
t/003-captitle-preserve_whitespace................ Dubious, test
returned 2 (wstat 512, 0x200)
No subtests run
t/004-captitle-preserve_allcaps...................You tried to run a
test without a plan at t/004-captitle-preserve_allcaps.t line 14.
BEGIN failed--compilation aborted at t/004-captitle-preserve_allcaps.t
line 15.
t/004-captitle-preserve_allcaps................... Dubious, test
returned 2 (wstat 512, 0x200)
No subtests run
t/005-captitle-preserve_anycaps...................You tried to run a
test without a plan at t/005-captitle-preserve_anycaps.t line 14.
BEGIN failed--compilation aborted at t/005-captitle-preserve_anycaps.t
line 15.
t/005-captitle-preserve_anycaps................... Dubious, test
returned 2 (wstat 512, 0x200)
No subtests run
t/006-captitle-preserve_allcaps_and_whitespace....You tried to run a
test without a plan at t/006-captitle-preserve_allcaps_and_whitespace.t
line 14.
BEGIN failed--compilation aborted at
t/006-captitle-preserve_allcaps_and_whitespace.t line 15.
t/006-captitle-preserve_allcaps_and_whitespace.... Dubious, test
returned 2 (wstat 512, 0x200)
No subtests run
t/007-captitle-preserve_anycaps_and_whitespace....You tried to run a
test without a plan at t/007-captitle-preserve_anycaps_and_whitespace.t
line 14.
BEGIN failed--compilation aborted at
t/007-captitle-preserve_anycaps_and_whitespace.t line 15.
t/007-captitle-preserve_anycaps_and_whitespace.... Dubious, test
returned 2 (wstat 512, 0x200)
No subtests run
t/008-random_case.................................You tried to run a
test without a plan at t/008-random_case.t line 14.
BEGIN failed--compilation aborted at t/008-random_case.t line 15.
t/008-random_case................................. Dubious, test
returned 2 (wstat 512, 0x200)
No subtests run
t/009-scramble_case...............................You tried to run a
test without a plan at t/009-scramble_case.t line 14.
BEGIN failed--compilation aborted at t/009-scramble_case.t line 15.
t/009-scramble_case............................... Dubious, test
returned 2 (wstat 512, 0x200)
No subtests run
Test Summary Report
-------------------
t/002-captitle-default (Wstat: 512 Tests: 0
Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/003-captitle-preserve_whitespace (Wstat: 512 Tests: 0
Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/004-captitle-preserve_allcaps (Wstat: 512 Tests: 0
Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/005-captitle-preserve_anycaps (Wstat: 512 Tests: 0
Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/006-captitle-preserve_allcaps_and_whitespace (Wstat: 512 Tests: 0
Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/007-captitle-preserve_anycaps_and_whitespace (Wstat: 512 Tests: 0
Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/008-random_case (Wstat: 512 Tests: 0
Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/009-scramble_case (Wstat: 512 Tests: 0
Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=9, Tests=3, 2 wallclock secs ( 0.10 usr 0.08 sys + 1.25 cusr
0.29 csys = 1.72 CPU)
Result: FAIL
Failed 8/9 test programs. 0/3 subtests failed.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'
/usr/ccs/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Failed during this command:
DOOM/Text-Capitalize-0.5.tar.gz : make_test NO