diff options
author | Michael G. Schwern <schwern@pobox.com> | 2004-12-09 21:04:49 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-12-10 09:51:44 +0000 |
commit | 09f0478617a12d0babd95fd09c4e7bd5bca68b5b (patch) | |
tree | c953fc22eb5ec5d1c7124e0d7bba30f6a22b9ea9 /t/test.pl | |
parent | 87ad9899a6f9c10a235352faaaa42f1776a76b78 (diff) | |
download | perl-09f0478617a12d0babd95fd09c4e7bd5bca68b5b.tar.gz |
[PATCH] cleanup t/op/taint.t
Date: Fri, 10 Dec 2004 02:04:49 -0500
Message-ID: <20041210070448.GA22347@windhund.schwern.org>
Subject: [PATCH] Add todo_skip() to test.pl
From: Michael G Schwern <schwern@pobox.com>
Date: Fri, 10 Dec 2004 04:27:06 -0500
Message-ID: <20041210092706.GA23378@windhund.schwern.org>
p4raw-id: //depot/perl@23635
Diffstat (limited to 't/test.pl')
-rw-r--r-- | t/test.pl | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -291,6 +291,18 @@ sub skip { last SKIP; } +sub todo_skip { + my $why = shift; + my $n = @_ ? shift : 1; + + for (1..$n) { + print STDOUT "ok $test # TODO & SKIP: $why\n"; + $test++; + } + local $^W = 0; + last TODO; +} + sub eq_array { my ($ra, $rb) = @_; return 0 unless $#$ra == $#$rb; |