[KinoSearch] perl Build.PL error
Peter Karman
peter at peknet.com
Sun Jan 27 21:28:09 PST 2008
Marvin Humphrey wrote on 1/21/08 6:44 PM:
>
> On Jan 21, 2008, at 12:25 AM, henka at cityweb.co.za wrote:
>
>> I can offer a remote machine which is under-utilised. Not sure if it
>> will
>> be workable for you though - being remote, etc. I could also assist with
>> getting the environment up for you.
>
> That's great, Henry. I've also received other offers of help via
> private channels, so I'm going to try to get this set up.
>
> I started a PerlMonks thread about smoke testing CPAN distros:
>
> http://www.perlmonks.org/index.pl?node_id=663432
>
too bad that thread seems to have stalled.
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? I'd also
love to get valgrind running, if you can point me at how you typically run it.
#!/usr/local/bin/perl
use strict;
use warnings;
use Carp;
use SVN::Class;
my $dir = svn_dir('/home/marvin/ks');
run("$^X -V");
run('uname -a');
$dir->update;
chdir "$dir" or croak "can't chdir to $dir: $!";
chdir 'perl' or croak "can't chdir to perl: $!";
run("./Build clean");
run("$^X Build.PL");
run("./Build test");
sub run {
my $cmd = shift;
system($cmd) and croak "$cmd failed: $!";
}
--
Peter Karman . http://peknet.com/ . peter at peknet.com
_______________________________________________
KinoSearch mailing list
KinoSearch at rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch
More information about the kinosearch
mailing list