| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Windows, NetWare and VMS want double-quotes, other OSes want single quotes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously these were overlooked - the generated .pm file corresponding to
an .xs file would be found on disk, but as that file was not in git, the
original $VERSION could not be determined and it would be skipped. Now the
correct master file is checked, and failed if it is not updated.
Without this change, t/porting/cmp_version.t currently fails for a build
using -Dmksymlinks, due to ext/DynaLoader/dl_vms.xs having recent changes.
The test changes directory to the original git checkout, and if that
checkout is clean, there is *no* ext/DynaLoader.pm file there, which meant
that the previous version of pm_file_from_xs() would die because it could
not figure out which Perl file relates to dl_vms.xs
|
|
|
|
|
|
|
| |
For any changed module, if the old version is undefined or unparseable, treat
it as a SKIP, not an OK. If the old version *was* parseable, but the current
version is not, treat that as a FAIL - moving from a parseable to an
unparseable version is a regression.
|
|
|
|
|
|
|
|
| |
Previously it was only incremented if it was being used (as part of generating
TAP output). However, this was done as ++$count, necessitating using a printf
statement. By moving the increment to one place we can use print instead,
which is simpler, and avoid the risk of forgetting to increment $count if we
add a new block for different test output.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Since the refactor to use git tags (instead of a second source tree),
cmpVERSION.pl was only spotting differences in XS files if the corresponding
PM file was also modified. If only the XS file was modified, this was going
undetected.
Remove compare_git_file() - if git has already told us that a file differs,
there's no need to duplicate the work of comparison in Perl.
|
|
|
|
|
| |
Reduce t/porting/cmp_version.t down to an invocation of cmpVERSION.pl with
--tap.
|
|
|
|
|
|
| |
Previously it was excluding if CPAN were true, which meant that anything
with a DISTRIBUTION was excluded, including files where blead is upstream,
and hence something we should fix.
|
|
|
|
|
|
|
|
|
| |
If no tag is specified, default to git describe --abbrev=0.
(This is David Golden's suggestion, added t/porting/cmp_version.t in
3d92e8b1e4996571)
Eliminate the source_dir command line argument - this is now always assumed to
be '.'.
|
| |
|
|
|
|
|
|
| |
Most of the vestigial entries were caused by the refactoring to use git in
42e700c91cf83f56. Use File::Spec::Functions::devnull() in place of hard coded
values based on $^O.
|
|
|
|
| |
Skip chdir $source_dir with -x, because -x checks that it's '.'
|
| |
|
|
|
|
|
|
|
| |
All these files used to be executable in the release tarballs. Apparently things
also work without that in the repository, but I'd rather add this possibly
unecessary change to blead instead of breaking the upcoming release. This should
probably be looked into again afterwards.
|
| |
|
| |
|
|
|
|
|
| |
Update Porting/cmpVERSION.pl to take a directory and a git tag,
rather than two directories, as suggested in perltodo.
|
|
|
|
| |
It makes more sense than literally printing "usage: $0 ..."
|
| |
|
| |
|
|
|
|
| |
which ignores dual-life modules
|
| |
|
| |
|
|
|
| |
p4raw-id: //depot/perl@34391
|
|
|
|
|
|
|
|
|
|
| |
since 5.8.8, ready for merging into maint-5.8 prior to 5.8.9.
(Many (all?) of these should really have been changed prior to
5.10.0, but better late than never.)
Also modify cmpVERSION.pl to skip uninstalled test modules whose
VERSIONs don't really matter.
p4raw-id: //depot/perl@34365
|
|
|
| |
p4raw-id: //depot/perl@34348
|
|
|
| |
p4raw-id: //depot/perl@21214
|
|
|
|
|
| |
(.pm -> .xs name equivalence is assumed)
p4raw-id: //depot/perl@20696
|
|
|
| |
p4raw-id: //depot/perl@20691
|
|
Perl source trees for modules that have changed
but have the same version numbers.
p4raw-id: //depot/perl@20678
|