This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In cmp_version.t, show in the TAP when we are skipping a particular version.
authorNicholas Clark <nick@ccl4.org>
Tue, 5 Jul 2011 12:09:28 +0000 (14:09 +0200)
committerNicholas Clark <nick@ccl4.org>
Wed, 6 Jul 2011 08:52:42 +0000 (10:52 +0200)
commitf008f53b0874b02cab7afb0241a91795650faa93
tree098a0c2a50478f653c9e3250e49dfd22b07b3f61
parent8304a6c43fb2482cbeadcb208b8f2e87c4a94726
In cmp_version.t, show in the TAP when we are skipping a particular version.

The facility to skip specific versions of modules was added in
a5a2efce1e0ae6b7. However, it gave no indication when such an exception caused
a skip, because it generated identical TAP output to the normal pass case.

Instead, we now show the diffs (as for the "not ok" TAP output), but generate
TAP "SKIP" for the pass. This makes it clear what is happening.
Porting/cmpVERSION.pl