4 push @INC, "::lib:$MacPerl::Architecture:" if $^O eq 'MacOS';
5 require Config; import Config;
6 if ($Config{'extensions'} !~ /\bXS\/APItest\b/) {
7 # Look, I'm using this fully-qualified variable more than once!
8 my $arch = $MacPerl::Architecture;
9 print "1..0 # Skip: XS::APItest was not built\n";
13 print "1..0 # Skip: hints hash not present before 5.10.0\n";
20 use Test::More 'no_plan';
22 use_ok('XS::APItest');
24 *hint_exists = *hint_exists = \&XS::APItest::Hash::refcounted_he_exists;
25 *hint_fetch = *hint_fetch = \&XS::APItest::Hash::refcounted_he_fetch;
27 require '../../t/op/caller.pl';