X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=author%2Ftest-externals.pl;h=1e57e9e5413a99a0253e66fdc75da2fcc5488f64;hb=f43060b65ad710abc58ab3e1f4288a71deb00ec6;hp=78c3c3c65b2c82673f43813cff06be5b33c92f7c;hpb=7c738ee513510237e009e456c0b09a82c836a84a;p=gitmo%2FMouse.git diff --git a/author/test-externals.pl b/author/test-externals.pl index 78c3c3c..1e57e9e 100755 --- a/author/test-externals.pl +++ b/author/test-externals.pl @@ -1,13 +1,16 @@ #!perl -w +# see also t/800_with_external/002-externals.t + use strict; use FindBin qw($Bin); use autodie; my %dist = ( - 'HTTP-Engine' => q{git://github.com/http-engine/HTTP-Engine.git}, - 'Ark' => q{git://github.com/typester/ark-perl.git}, + 'Ark' => q{git://github.com/typester/ark-perl.git}, + 'Object-Container' + => q{git://github.com/typester/object-container-perl.git}, -# 'Any-Moose' => q{git://github.com/sartak/any-moose.git}, # has no Makefile.PL :( + 'Data-Localize' => q{git://github.com/lestrrat/Data-Localize.git}, ); my $distdir = 'externals'; @@ -32,8 +35,11 @@ while(my($name, $repo) = each %dist){ } print "$^X Makefile.PL\n"; - system("$^X Makefile.PL"); + system("$^X Makefile.PL 2>&1 |tee ../$name.log"); + + print "make\n"; + system("make 2>&1 >>../$name.log"); print "make test\n"; - system "make test"; + system("make test 2>&1 |tee -a ../$name.log") }