Test-More / TB2

Test::Builder version 2, the next generation of building testing modules in Perl
Other
1 stars 0 forks source link

Fix Test::ConsistentVersion for 1.5 #209

Closed schwernbot closed 10 years ago

schwernbot commented 10 years ago

From: @schwern Date: Thursday Aug 02, 2012 at 04:20 GMT Orig: https://github.com/Test-More/test-more/issues/326

Fails with v1.5.0_5

Has no serious CPAN dependents. Very low priority.

t/00.load.t ....... 1/? # Testing Test::ConsistentVersion 0.2.3
t/00.load.t ....... ok   
t/01.good.t ....... 1/? 
#   Failed test 'Failing version check'
#   at t/01.good.t line 29.
# STDOUT is:
#1..6
# ok 1 - Sample::Good is the same as the distribution version
# ok 2 - Sample::StillGood is the same as the distribution version
# ok 3 - Sample::Good POD version is the same as module version
# ok 4 - Sample::StillGood POD version is the same as module version
# ok 5 - Changelog includes reference to the distribution version: 1.2.31
# ok 6 - README file includes reference to the distribution version: 1.2.31
# 
# not:
# ok 1 - Sample::Good is the same as the distribution version
# 
# ok 2 - Sample::StillGood is the same as the distribution version
# 
# ok 3 - Sample::Good POD version is the same as module version
# 
# ok 4 - Sample::StillGood POD version is the same as module version
# 
# ok 5 - Changelog includes reference to the distribution version: 1.2.31
# 
# ok 6 - README file includes reference to the distribution version: 1.2.31
# 
# as expected
#1 test of 2 failed.
t/01.good.t ....... Failed 1/2 subtests 
t/02.bad.t ........ 1/? 
#   Failed test 'Failing version check'
#   at t/02.bad.t line 61.
# STDOUT is:
#1..6
# ok 1 - Sample::Bad is the same as the distribution version
# not ok 2 - Sample::StillBad is the same as the distribution version
# not ok 3 - Sample::Bad POD version is the same as module version
# ok 4 - Sample::StillBad POD version is the same as module version
# not ok 5 - Changelog includes reference to the distribution version: 1.2.31
# not ok 6 - Unable to find README file
# 
# not:
# ok 1 - Sample::Bad is the same as the distribution version
# 
# not ok 2 - Sample::StillBad is the same as the distribution version
# 
# not ok 3 - Sample::Bad POD version is the same as module version
# 
# ok 4 - Sample::StillBad POD version is the same as module version
# 
# not ok 5 - Changelog includes reference to the distribution version: 1.2.31
# 
# not ok 6 - Unable to find README file
# 
# as expected
#1 test of 2 failed.
t/02.bad.t ........ Failed 1/2 subtests 
t/perlcritic.t .... skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.
t/pod-coverage.t .. skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.
t/pod.t ........... skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.
t/version.t ....... skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.

Test Summary Report
-------------------
t/01.good.t     (Wstat: 0 Tests: 2 Failed: 1)
  Failed test:  1
t/02.bad.t      (Wstat: 0 Tests: 2 Failed: 1)
  Failed test:  1
Files=7, Tests=5,  1 wallclock secs ( 0.07 usr  0.02 sys +  0.87 cusr  0.08 csys =  1.04 CPU)
Result: FAIL
Failed 2/7 test programs. 2/5 subtests failed.
schwernbot commented 10 years ago

From: @schwern Date: Friday Aug 03, 2012 at 09:28 GMT Orig: https://github.com/Test-More/test-more/issues/326#issuecomment-7479381

00d4609f79fef0ad0db954ba9d9982026eb755e0 fixed it.