perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <go...@apache.org>
Subject Re: [patch] make test runs test on included modules
Date Tue, 15 Jun 2010 19:22:16 GMT
On 10-06-15 15:14 , Adam Prime wrote:
> Philippe M. Chiasson wrote:
>> How about this cute trick using make -k ? Quick testing seems to
>> indicate it ends up doing the right thing for me.
>>
> 
> seems reasonable to me, is there any make magic that can be done to
> automatically create all the run_subtests targets?


We can autogenerate it in perl-land instead something like :


<untested>
my $subtests = "";
foreach my $m (qw(Apache-Reload Apache-SizeLimit ModPerl-Registry) {
  $subtests .= << "EOM";
  make_subttest ::
      make -C $m test

EOM
}
</untested>

-- 
Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/       m/gozer\@(apache|cpan|ectoplasm)\.org/


Mime
View raw message