Skip to content

Commit

Permalink
skip porting/libperl.t on maint releases
Browse files Browse the repository at this point in the history
maint-* branches, whether supported or not, may not be updated to
handle changes to nm's output due to updates to the operating system
or toolchain.

The same applies doubly to release tarballs.

So skip this test for maint/version numbers.

Keep the test for devel releases, since they have limited support
windows anyway, and we want this test to be done where possible.

Fixes Perl#21677
  • Loading branch information
tonycoz committed Nov 30, 2023
1 parent 7e806ec commit 7841a10
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/porting/libperl.t
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ use strict;

use Config;

# maint (and tarballs of maint releases) may not have updates here to
# deal with changes to nm's output in some toolchains
$^V =~ /^v\d\.\d*[13579]\./
or skip_all "on maint";

if ($Config{cc} =~ /g\+\+/) {
# XXX Could use c++filt, maybe.
skip_all "on g++";
Expand Down

0 comments on commit 7841a10

Please sign in to comment.