manwar / Test-Strict

Test::Strict
Other
2 stars 9 forks source link

t/04cover.t fails in 0.32 (re new t/00-load.t) #16

Closed gregoa closed 8 years ago

gregoa commented 9 years ago
$ CHECK_COVERAGE=1 prove --blib --verbose t/04cover.t 
t/04cover.t .. 
ok 1 - Coverage captured from t/94-version.t
ok 2 - Coverage captured from t/02fail.t
ok 3 - Coverage captured from t/90-pod.t
ok 4 - Coverage captured from t/93-checkmanifest.t
"-T" is on the #! line, it must also be used on the command line at t/00-load.t line 1.
not ok 5 - Coverage captured from t/00-load.t

#   Failed test 'Coverage captured from t/00-load.t'
#   at t/04cover.t line 18.
ok 6 - Coverage captured from t/91-pod-coverage.t
ok 7 - Coverage captured from t/92-manifest.t
# First all_perl_files_ok starting
# First all_perl_files_ok done
# Start creating files in /tmp/nsdaRNMIqW
# [
#   '/tmp/wOBiIAJOiJ/XK1ddqFb0c.pl',
#   '/tmp/wOBiIAJOiJ/pWeZ1VDXay.pl',
#   '/tmp/wOBiIAJOiJ/rs_P9LLvzV.pl',
#   '/tmp/wOBiIAJOiJ/GqdeaiV93p.pl'
# ]
# File to skip: /tmp/wOBiIAJOiJ/pWeZ1VDXay.pl
# Start all_perl_files_ok on /tmp/wOBiIAJOiJ (should be 2*3 = 6 tests)
ok 8 - Coverage captured from t/01all.t
ok 9 - Got cover
ok 10 - coverage = 67.9% > 50%
ok 11
ok 12
1..12
# Looks like you failed 1 test of 12.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/12 subtests 

Test Summary Report
-------------------
t/04cover.t (Wstat: 256 Tests: 12 Failed: 1)
  Failed test:  5
  Non-zero exit status: 1
Files=1, Tests=12,  4 wallclock secs ( 0.04 usr  0.00 sys +  4.05 cusr  0.20 csys =  4.29 CPU)
Result: FAIL
manwar commented 8 years ago

Hi Gregor,

Thanks for raising the issue. It has now been resolved.

Best Regards, Mohammad S Anwar