Skip to content

Commit 1ac2de7

Browse files
committed
Test added for BBC Math::(Cephes|Pari)
Left it defanged. Not sure looking at it a magical fix is available.
1 parent 13e2481 commit 1ac2de7

File tree

1 file changed

+25
-0
lines changed
  • t/lib/MakeMaker/Test/Setup

1 file changed

+25
-0
lines changed

t/lib/MakeMaker/Test/Setup/XS.pm

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,30 @@ SNIP
401401
EOF
402402
};
403403

404+
$label2files{subdirsskip3} = +{
405+
%{ $label2files{subdirsskip} }, # make copy
406+
'Other/Makefile.PL' => sprintf(
407+
$MAKEFILEPL,
408+
'Other', 'Other.pm', qq{},
409+
<<'EOF',
410+
SKIP => [qw(all static static_lib dynamic dynamic_lib test_dynamic test)],
411+
clean => {'FILES' => 'libparser$(LIB_EXT)'},
412+
EOF
413+
) . <<'EOF',
414+
sub MY::top_targets {
415+
my ($self) = @_;
416+
<<'SNIP' . $self->static_lib_pure_cmd('$(O_FILES)');
417+
test ::
418+
test_static:
419+
test_dynamic:
420+
all :: static
421+
static :: libparser$(LIB_EXT)
422+
libparser$(LIB_EXT): $(O_FILES)
423+
SNIP
424+
}
425+
EOF
426+
};
427+
404428
my $XS_MULTI = $XS_OTHER;
405429
# check compiling from top dir still can include local
406430
$XS_MULTI =~ s:(#include "XSUB.h"):$1\n#include "header.h":;
@@ -536,6 +560,7 @@ sub list_dynamic {
536560
[ 'xsbuild', '', '' ],
537561
[ 'subdirsskip', '', '' ],
538562
[ 'subdirsskip2', '', '' ],
563+
# [ 'subdirsskip3', '', '' ], # Defanged I'm unsure how to magic a fix for this.
539564
);
540565
}
541566

0 commit comments

Comments
 (0)