diff options
Diffstat (limited to 'ext/XS-APItest/t/handy_base.pl')
-rw-r--r-- | ext/XS-APItest/t/handy_base.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/XS-APItest/t/handy_base.pl b/ext/XS-APItest/t/handy_base.pl index 9143eabfe0..7e8194e643 100644 --- a/ext/XS-APItest/t/handy_base.pl +++ b/ext/XS-APItest/t/handy_base.pl @@ -163,6 +163,7 @@ my %utf8_param_code = ( "_safe" => 0, "_safe, malformed" => 1, "deprecated unsafe" => -1, + "deprecated mathoms" => -2, ); # This test is split into this number of files. @@ -555,8 +556,13 @@ foreach my $name (sort keys %to_properties) { foreach my $utf8_param("_safe", "_safe, malformed", "deprecated unsafe", + "deprecated mathoms", ) { + use Config; + next if $utf8_param eq 'deprecated mathoms' + && $Config{'ccflags'} =~ /-DNO_MATHOMS/; + my $utf8_param_code = $utf8_param_code{$utf8_param}; my $expect_error = $utf8_param_code > 0; |