From: David Mitchell Date: Tue, 12 Apr 2011 20:39:21 +0000 (+0100) Subject: reg_eval_scope.t: skip coring tests on all arches X-Git-Tag: accepted/trunk/20130322.191538~4443 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90803c373a7a4fcf2fa1a1029a44cb4d1cdf11e2;p=platform%2Fupstream%2Fperl.git reg_eval_scope.t: skip coring tests on all arches 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. --- diff --git a/t/re/reg_eval_scope.t b/t/re/reg_eval_scope.t index 7bec654..860b4c8 100644 --- a/t/re/reg_eval_scope.t +++ b/t/re/reg_eval_scope.t @@ -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