develooper Front page | perl.perl5.porters | Postings from December 2010

minitest and Config.pm (Re: [perl.git] branchgreerga/todo-be-more-specific, created. v5.13.8-53-g5b14b1c)

Thread Next
From:
Tony Cook
Date:
December 30, 2010 19:50
Subject:
minitest and Config.pm (Re: [perl.git] branchgreerga/todo-be-more-specific, created. v5.13.8-53-g5b14b1c)
Message ID:
20101231035042.GA28403@mars.tony.develop-help.com
On Wed, Dec 29, 2010 at 03:23:07AM +0100, George Greer wrote:
> In perl.git, the branch greerga/todo-be-more-specific has been created
> 
> <http://perl5.git.perl.org/perl.git/commitdiff/5b14b1c8c0a1d4fc764eabef5467b06a688a5047?hp=0000000000000000000000000000000000000000>
> 
>         at  5b14b1c8c0a1d4fc764eabef5467b06a688a5047 (commit)
> 
> - Log -----------------------------------------------------------------
> commit 5b14b1c8c0a1d4fc764eabef5467b06a688a5047
> Author: George Greer <perl@greerga.m-l.org>
> Date:   Tue Dec 28 21:16:43 2010 -0500
> 
>     Be more specific setting TODO for tests that only sometimes fail.
>     
>     Some tests fail only under specific configurations which means the smoker
>     reports list the todo tests as passing, even though they do actually do
>     fail under some configurations.  To avoid someone mistaking the tests as
>     being accidentally fixed, be more specific on the TODO condition so they're
>     TODO when they're expected to fail.
> -----------------------------------------------------------------------

(in a topic branch atm)

diff --git a/t/op/stash.t b/t/op/stash.t
index b52da7a..8e3c574 100644
--- a/t/op/stash.t
+++ b/t/op/stash.t
@@ -7,6 +7,7 @@ BEGIN {
 
 BEGIN { require "./test.pl"; }
 
+use Config;
 plan( tests => 51 );

t/op/stash.t is run by make minitest, which can't assume Config.pm is
available, see the notes in Makefile.SH and t/TEST.

Tony

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About