MakeMaker XS tests now possible

2005-03-12 Thread Michael G Schwern
Using Ken's ExtUtils::CBuilder, wrapped in an eval block in case it barfs, I've added a utility function to MakeMaker::Test::Utils to check if there is a compiler suitable for XS builds. You can see this used in t/xs.t in the repository. http://svn.schwern.org/svn/CPAN/ExtUtils-MakeMaker/trunk/t/x

Re: Test comments

2005-03-12 Thread Ian Langworth
On 14.Feb.2005 09:01PM -0800, chromatic wrote: > Here's my list of suggestions for each: > > 1) label, description > 2) directive, instruction > 3) diagnostic > > I want to avoid the word "comment" altogether, making the > optionalness of #1 and #3 evident in their words, the > activeness of #2

benchmark darcs with Perl

2005-03-12 Thread Mark Stosberg
darcs [1] is slow in a few places, and I'm working on benchmarking tool in Perl to help monitor the performance. I'm got some questions about the best way to proceed. 1. http://www.darcs.net/ So far: I've divided the task into a couple specific problems: A. What repos to use for testing? B. A

Re: [RFC] adding skip option directly to plan()

2005-03-12 Thread Ian Langworth
On 30.Nov.2004 09:57AM -0600, Andy Lester wrote: >plan tests => 14, have( "Foo::Wango" ), moon_phase eq "waning", etc; Where does the reason fit into this syntax? -- Ian Langworth Project Guerrilla Northeastern University College of Computer and Information Science

Re: benchmark darcs with Perl

2005-03-12 Thread Michael G Schwern
On Sat, Mar 12, 2005 at 11:02:45PM +, Mark Stosberg wrote: > My solution? > > my $out = `time $bin diff 1/1 2>&1`; > ># XXX Parsing of time output may be fragile >$out =~ m/\s*([\d\.]*\s+real.*)/; > > Ouch. > > Perhaps my whole approach is wrong. Am I overlooking a good open sou

Re: [RFC] adding skip option directly to plan()

2005-03-12 Thread Geoffrey Young
Ian Langworth wrote: > On 30.Nov.2004 09:57AM -0600, Andy Lester wrote: > > >> plan tests => 14, have( "Foo::Wango" ), moon_phase eq "waning", etc; > > > Where does the reason fit into this syntax? well, this syntax doesn't exist in Test::More at the moment (though I probably should get ar

Re: [RFC] adding skip option directly to plan()

2005-03-12 Thread Ian Langworth
On 12.Mar.2005 11:41PM -0500, Geoffrey Young wrote: > nevertheless, what you are replying to was just a discussion > about a feature that doesn't exist in the standard Test::More > toolkit but was brought up because Apache-Test's plan() works > a bit differently and there are enough people who lik