summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2011-04-12 21:39:21 +0100
committerDavid Mitchell <davem@iabyn.com>2011-04-12 21:39:21 +0100
commit90803c373a7a4fcf2fa1a1029a44cb4d1cdf11e2 (patch)
tree4fd83819b38c1aa3df8aba42155a5ac37280dd33 /t
parent9c9a25009f0b320688f71537f57c756d2fdd3f53 (diff)
downloadperl-90803c373a7a4fcf2fa1a1029a44cb4d1cdf11e2.tar.gz
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.
Diffstat (limited to 't')
-rw-r--r--t/re/reg_eval_scope.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/re/reg_eval_scope.t b/t/re/reg_eval_scope.t
index 7bec6546fa..860b4c80f7 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