On Sun, Mar 08, 2009 at 09:48:06PM +0000, [email protected] wrote:
> 
> Modified:
>     trunk/t/92-file_port.t
> 
> Log:
> Skipping tests this way because of the way Test::Portability::Files::import
> sets a plan, and if multiple "plan skip_all =>" are used this causes a  
> failure
> when Test::Portability::Files is available - "You tried to plan twice".
> 
> Test::Portability::Files::import is trying to be helpful by setting a plan,
> but because it does it in import it doesn't play nicely with "plan  
> skip_all".
> 
> This time I tested using a perl instance without Test::Portability::Files  
> and
> fixed the missing plan in this case.  Sorry about that.
> 
> If this test continues to cause problems it can be removed.

I've re-jigged it to use require and do an explicit import later.
Seems to work well (I installed Test::Portability::Files to test it).

Tim.

--~--~---------~--~----~------------~-------~--~----~
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to