}
printf "1..%d\n" => scalar keys %module_diffs if $tap;
+print "#\n# Comparing against $tag_to_compare ....\n#\n" if $tap;
my $count;
my $diff_cmd = "git --no-pager diff $tag_to_compare ";
print "ok $count - $pm_file\n" if $tap;
} else {
if ($tap) {
+ print "#\n# " . '-' x 75 . "\n"
+ . "# Version number ($pm_version) unchanged since"
+ . " $tag_to_compare, but contents have changed:\n#\n";
foreach (sort @{$module_diffs{$pm_file}}) {
print "# $_" for `$diff_cmd $q$_$q`;
}
+ print "# " . '-' x 75 . "\n";
+
if (exists $skip_versions{$pm_file}
and grep $pm_version eq $_, @{$skip_versions{$pm_file}}) {
print "ok $count - SKIP $pm_file version $pm_version\n";
# AND you should probably also nudge the upstream maintainer for
# example by filing a bug, with a patch attached and linking to
# the core change.
+#
+# This test script works by finding the last non-RC tagged commit,
+# which it assumes was the last release, then for each module:
+# if it has changed since that commit, but its version number is still the
+# same as that commit, report it.
+#
+# There's also a module exclusion list in Porting/cmpVERSION.pl.
BEGIN {
@INC = '..' if -f '../TestInit.pm';