reg_eval_scope.t: skip coring tests on all arches
authorDavid Mitchell <davem@iabyn.com>
Tue, 12 Apr 2011 20:39:21 +0000 (21:39 +0100)
committerDavid Mitchell <davem@iabyn.com>
Tue, 12 Apr 2011 20:39:21 +0000 (21:39 +0100)
Some TODO tests that were known to core dump are already skipped on
Windows on production releases. Extend this to all platforms,
to avoid scaring the punters with spurious 'Aborted' messages in the
test harness output.

t/re/reg_eval_scope.t

index 7bec654..860b4c8 100644 (file)
@@ -131,8 +131,10 @@ SKIP: {
     # The remaining TODO tests crash, which will display an error dialog
     # on Windows that has to be manually dismissed.  We don't want this
     # to happen for release builds: 5.14.x, 5.16.x etc.
+    # On UNIX, they produce ugly 'Aborted' shell output mixed in with the
+    # test harness output, so skip on all platforms.
     skip "Don't run crashing TODO test on release build", 3
-       if $::TODO && $^O eq "MSWin32" && (int($]*1000) & 1) == 0;
+       if $::TODO && (int($]*1000) & 1) == 0;
 
     fresh_perl_is <<'CODE', '45', { stderr => 1 }, '(?{last})';
      {  my $a=4; my $b=5; "a" =~ /(?{last})a/ }; print $a,$b