Re: Test::Aggregate - Speed up your test suites

2008-01-01 Thread Sam Vilain
Ovid wrote: >> Why not just load Perl once and fork for the execution of each test >> script. You can pre-load modules before you fork. > > Forking is also more likely to be used for parallelization. Often code > requires sweeping changes before it can be run in parallel. So this > means we're

Re: Test::Aggregate - Speed up your test suites

2008-01-01 Thread Eric Wilhelm
# from Ovid # on Tuesday 01 January 2008 00:12: >> Either way, it is glaringly bad code. >> >>   a.  any call to slurp() doesn't pass a filename -- screams of evil >>   b.  2-arg form of open -- banned >>   c.  non-lexical filehandles -- banned > >This is the sort of stuff that tests are designed

Re: Test::Aggregate - Speed up your test suites

2008-01-01 Thread demerphq
On 01/01/2008, Ovid <[EMAIL PROTECTED]> wrote: > --- Eric Wilhelm <[EMAIL PROTECTED]> wrote: > > > Do you happen to have another example? This one looks to me like > > poorly > > written code in the test (or are you citing this as code in the > > product?) > > What??? That's the point! > > > Eith

Re: Test::Aggregate - Speed up your test suites

2008-01-01 Thread chromatic
On Tuesday 01 January 2008 00:20:20 Ovid wrote: > Not if you want your code to run under 5.005. Some people still have > that issue. Yeah, but I can count the number of people who have that issue and simultaneously have permission to install new modules on one hand and still have all of my fin

Re: Test::Aggregate - Speed up your test suites

2008-01-01 Thread Ovid
Oh, and if you're going to take my *deliberately* bad example to task ... --- Eric Wilhelm <[EMAIL PROTECTED]> wrote: > > sub slurp { > >open FH, "< $file" or die $!; > >do { $/ = undef; } > > } > b. 2-arg form of open -- banned Not if you want your code to run under 5.005. Some

Re: Test::Aggregate - Speed up your test suites

2008-01-01 Thread Ovid
--- Eric Wilhelm <[EMAIL PROTECTED]> wrote: > Do you happen to have another example? This one looks to me like > poorly > written code in the test (or are you citing this as code in the > product?) What??? That's the point! > Either way, it is glaringly bad code. > > a. any call to slurp

Re: buildbot - an experiment

2008-01-01 Thread Matisse Enzer
On Dec 31, 2007, at 4:24 PM, David Cantrell wrote: On Sat, Dec 29, 2007 at 05:51:50PM -0500, James E Keenan wrote: How might this be used to perform smoke-testing for a project like Parrot, where we want to test on many combinations of operating system, platform and C compiler? If anyone