diff options
Diffstat (limited to 'ext/XS-APItest/t/xs_special_subs.t')
-rw-r--r-- | ext/XS-APItest/t/xs_special_subs.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/XS-APItest/t/xs_special_subs.t b/ext/XS-APItest/t/xs_special_subs.t index 90f54dccc6..e058a223dd 100644 --- a/ext/XS-APItest/t/xs_special_subs.t +++ b/ext/XS-APItest/t/xs_special_subs.t @@ -1,14 +1,13 @@ #!perl -w BEGIN { - push @INC, "::lib:$MacPerl::Architecture:" if $^O eq 'MacOS'; require Config; import Config; if ($Config{'extensions'} !~ /\bXS\/APItest\b/) { print "1..0 # Skip: XS::APItest was not built\n"; exit 0; } # Hush the used only once warning. - $XS::APItest::WARNINGS_ON_BOOTSTRAP = $MacPerl::Architecture; + no warnings 'once'; $XS::APItest::WARNINGS_ON_BOOTSTRAP = 1; } |