Due to the extra directory depth of dSYM directories the following line
my $dashes = "-" x (50 - length $full_dir);
generates a warning on Darwin because the length of $full_dir is more than 50
("Negative repeat count does nothing"). This change makes test_one_dir return
early if the directory contains "dSYM".
if (256 == system("$tests_dir/tests/os_test $dir")) { return; }
if ($dir =~ /(\w+)-(\w+)/ &&
256 == system("sh $tests_dir/tests/platform_test $1 $2")) { return; }
+ if ($dir =~ "dSYM") { return; }
chdir($dir) or die "Could not change into $dir\n";