This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make the "no name list" catcher more relaxed.
authorJarkko Hietaniemi <jhi@iki.fi>
Tue, 1 Jul 2014 12:58:30 +0000 (08:58 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 1 Jul 2014 12:58:30 +0000 (08:58 -0400)
t/porting/libperl.t

index 5a23bac..f27590a 100644 (file)
@@ -330,7 +330,9 @@ if ($GSP) {
 if (open(my $nm_err_fh, $nm_err_tmp)) {
     my $error;
     while (<$nm_err_fh>) {
-        if (/warning: .+nm: no name list/ && $^O eq 'darwin') {
+        # OS X has weird error where nm warns about
+        # "no name list" but then outputs fine.
+        if (/nm: no name list/ && $^O eq 'darwin') {
             print "# $^O ignoring $nm output: $_";
             next;
         }