[KinoSearch] perl Build.PL error

Peter Karman peter at peknet.com
Fri Feb 1 10:33:57 PST 2008





On 01/30/2008 01:23 AM, Marvin Humphrey wrote:

>> I hacked this little test script together just now and set it up on a
>> local box. Marvin, would you like a nightly cron run and mail directly
>> to you?
> 
> That would be great.  Thanks!
> 
> It might be even better if it only emailed upon failure.
> 

maybe a test for !~ /PASSED/ or something would suffice.

> Can I commit the script as $KS_SVN_TRUNK/devel/bin/smoke.pl ?
> 

sure. If I have mods later, shall I send a patch? Or you could just give me a commit bit
to that dir if you like.

> With slight modifications (a config file, probably using JSON::XS),
> Henry could run it as well.
> 

sounds good.

>> I'd also love to get valgrind running, if you can point me at how you
>> typically run it.
> 
> What I do is invoke this set of commands from $SVN_TRUNK_ROOT/perl ...
> 
>    $ export PERL_DESTRUCT_LEVEL=2
>    $ /usr/local/debugperl/bin/perl5.8.8 ../devel/bin/valgrind_test.plx
> 
> ... and then manually inspect the valgrind_test.log file that it
> generates, using vim.  I scrunch up my terminal window and search first
> for "ERROR SUMMARY",  then "LEAK SUMMARY", hitting the "n" key to keep
> fast forwarding; as the reports skip by, I look to make sure that I see
> nothing but zeros.  The process doesn't take long if the tests are
> clean, even though there are around 100 of them.
> 
> To run the script need a DEBUGGING perl, and you may also need a
> suppressions file to get sensible results.   We'll have to set up some
> kind of parser to machine-read valgrind's output if I'm not checking it
> directly.

ok. I'll work on that when I have some time. Could be enough to identify the key string
patterns that indicate a failure and just print the entire report if one or more of those
is found.

-- 
Peter Karman  .  peter at peknet.com  .  http://peknet.com/


_______________________________________________
KinoSearch mailing list
KinoSearch at rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch




More information about the kinosearch mailing list