RE: Apache::Util stuff

2001-06-25 Thread Geoffrey Young
> -Original Message- > From: Doug MacEachern [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 19, 2001 3:30 PM > To: Geoffrey Young > Cc: '[EMAIL PROTECTED]' > Subject: RE: Apache::Util stuff > > > On Tue, 19 Jun 2001, Geoffrey Young wrote: > > > oh, ok - I don't have to call bootstr

Re: rfc: 2.0 documentation project thoughts

2001-06-25 Thread Doug MacEachern
On Sat, 23 Jun 2001, brian moseley wrote: > would you really trust somebody to write docs that you > wouldn't trust to write code? i wouldn't. so i don't think > it should be a concern. i don't know if 'trust' is the right word. the code/docs split approach has been working well for the httpd p

Re: cvs commit: modperl-2.0/Apache-Test/lib/Apache TestServer.pm

2001-06-25 Thread Doug MacEachern
On Sun, 24 Jun 2001, Stas Bekman wrote: > So what do we decide about documentation style, so we can start > documenting things as we go? As I've replied to brian's email, I'm in > favor of inline docs if it doesn't make the code harder to read. that's fine, i still would rather see each module

Re: Apache-Test: run-tests improve patch

2001-06-25 Thread Doug MacEachern
On Sun, 24 Jun 2001, Stas Bekman wrote: > here is the patch (against cvs) that allows you to: > >'run-tests[=N[:mode]]' => ['run the tests', > { >N=> 'repeat times', >mode => '(repeat|rotate|ran

Re: test ideas

2001-06-25 Thread Doug MacEachern
On Sun, 24 Jun 2001, brian moseley wrote: > > fwiw, i've come up with a couple of other useful shorthand > routines for my Wombat::Test package: ... > they allow me to do stuff like this at the beginning of each > test file: > > skip_all $@ unless have_lib qw(mod_perl Foo Apache::FakeRequest

Re: test order

2001-06-25 Thread Doug MacEachern
On Sun, 24 Jun 2001, Stas Bekman wrote: > should 'sort' be non-exclusive with 'rotate|repeat'? (it won't apply to > 'random' of course) > > but it gets hairy then: --run-tests[=[N][:][order][:][sort]] ? > > I'd rather have --run-tests --test_times=N --test_order=ORDER > --[no]test_sort? Doug?

Re: running xs generator

2001-06-25 Thread Doug MacEachern
On Sun, 24 Jun 2001, Stas Bekman wrote: > > Running a stand-alone: > > $ make xs_generate yeah, that isn't meant be used at the moment. > unfortunately 'make source_scan' shocks with: > Expecting parenth after identifier in `apr_sms_t **sms' > after `apr_sms_t ' at /home/stas/perl-bleed/lib/

RE: Apache::Util stuff

2001-06-25 Thread Doug MacEachern
On Mon, 25 Jun 2001, Geoffrey Young wrote: > ok, I did lots of playing around and have come full circle. my problem > seems to be that > DynaLoader::bootstrap (as called by Apache::Util/mod_perl.pm) is looking for > libUtil.so (and variants) instead of resolving the symbols to libhttpd.so. > wh

RE: rfc: 2.0 documentation project thoughts

2001-06-25 Thread Geoffrey Young
>-Original Message- >From: Doug MacEachern >To: brian moseley >Cc: modperl-2.0 dev-list >Sent: 6/25/01 7:04 PM >Subject: Re: rfc: 2.0 documentation project thoughts > >On Sat, 23 Jun 2001, brian moseley wrote: > >> would you really trust somebody to write docs that you >> wouldn't trust

RE: Apache::Util stuff

2001-06-25 Thread Geoffrey Young
>-Original Message- >From: Doug MacEachern >To: Geoffrey Young >Cc: '[EMAIL PROTECTED]' >Sent: 6/25/01 7:46 PM >Subject: RE: Apache::Util stuff > >On Mon, 25 Jun 2001, Geoffrey Young wrote: > >> ok, I did lots of playing around and have come full circle. my >problem >> seems to be that

Re: rfc: 2.0 documentation project thoughts

2001-06-25 Thread brian moseley
On Mon, 25 Jun 2001, Doug MacEachern wrote: > whenever. of course, then we have the problem of docs > containing docs based on the code in cvs, not the > current release of modperl. yeah, i think that's the worst outcome. > i have the opposite feeling, docs interspersed amongst > subs drives m

Re: test ideas

2001-06-25 Thread brian moseley
On Mon, 25 Jun 2001, Doug MacEachern wrote: > that's cool, 1.x has similar: > skip_test unless have_module 'Foo'; yeah i knew i horked the concept from you somewhere along the line :) > i just found it shorter/cleaner to write: > > plan tests => 6, \&condition; > > especially since &condition c

Re: Apache-Test: run-tests improve patch

2001-06-25 Thread Stas Bekman
> > > - something else to look into, a recent bug has been introduced, if > > > t/TEST -run=2 starts the server, when $SIG{INT} is caught it should > > > stop the server but does not at the moment. > > > > I don't understand why would you want to do that. --run-tests is already a > > non-stand

Re: cvs commit: modperl-2.0/Apache-Test/lib/Apache TestServer.pm

2001-06-25 Thread Stas Bekman
On Mon, 25 Jun 2001, Doug MacEachern wrote: > On Sun, 24 Jun 2001, Stas Bekman wrote: > > > So what do we decide about documentation style, so we can start > > documenting things as we go? As I've replied to brian's email, I'm in > > favor of inline docs if it doesn't make the code harder to read

Re: test order

2001-06-25 Thread Stas Bekman
On Mon, 25 Jun 2001, Doug MacEachern wrote: > On Sun, 24 Jun 2001, Stas Bekman wrote: > > > should 'sort' be non-exclusive with 'rotate|repeat'? (it won't apply to > > 'random' of course) > > > > but it gets hairy then: --run-tests[=[N][:][order][:][sort]] ? > > > > I'd rather have --run-tests --

Re: running xs generator

2001-06-25 Thread Stas Bekman
On Mon, 25 Jun 2001, Doug MacEachern wrote: > On Sun, 24 Jun 2001, Stas Bekman wrote: > > > > > Running a stand-alone: > > > > $ make xs_generate > > yeah, that isn't meant be used at the moment. ok > > unfortunately 'make source_scan' shocks with: > > Expecting parenth after identifier in `apr