This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
diag.t: Support win32_croak_not_implemented
authorFather Chrysostomos <sprout@cpan.org>
Sun, 17 Nov 2013 14:18:12 +0000 (06:18 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 17 Nov 2013 21:08:58 +0000 (13:08 -0800)
t/porting/diag.t

index 2dae741..ddd773d 100644 (file)
@@ -272,6 +272,9 @@ sub check_file {
       # Sometimes the regexp will pick up too much for the category
       # e.g., WARN_UNINITIALIZED), PL_warn_uninit_sv ... up to the next )
       $category && $category =~ s/\).*//s;
+      if (/win32_croak_not_implemented\(/) {
+        $name .= " not implemented!"
+      }
     }
     elsif (/$bad_version_re/) {
       ($name, $category) = ($+{'text'}, undef);