From 90803c373a7a4fcf2fa1a1029a44cb4d1cdf11e2 Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Tue, 12 Apr 2011 21:39:21 +0100 Subject: [PATCH] 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. --- t/re/reg_eval_scope.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.7.4