summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-05-23 07:56:46 -0600
committerSawyer X <xsawyerx@cpan.org>2020-05-27 11:09:32 +0300
commitbbbfd957915db62f108dabece247a33bad1eb5a1 (patch)
treed5703ae914800be5115b54c269ce540fe78f5ebf /t
parent7b23763834781686e711bf3ede59a65eeb4553b4 (diff)
downloadperl-bbbfd957915db62f108dabece247a33bad1eb5a1.tar.gz
op/sub.t: Skip APItest test if that not built
Diffstat (limited to 't')
-rw-r--r--t/op/sub.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/sub.t b/t/op/sub.t
index 2b8ebcc463..11d7147e5d 100644
--- a/t/op/sub.t
+++ b/t/op/sub.t
@@ -406,7 +406,7 @@ is ref($main::{rt_129916}), 'CODE', 'simple sub stored as CV in stash (main::)';
# Calling xsub via ampersand syntax when @_ has holes
SKIP: {
skip "no XS::APItest on miniperl" if is_miniperl;
- require XS::APItest;
+ skip "XS::APItest not available", 1 if ! eval { require XS::APItest };
local *_;
$_[1] = 1;
&XS::APItest::unshift_and_set_defav;