theory 2004/10/19 18:27:17
Modified: perl-framework/Apache-Test/lib/Apache TestMB.pm Log: Add test_config action. Not that it's really used yet, because cmodules hasn't been implemented. But just to keep parity with the expectations of TestMM. Revision Changes Path 1.10 +8 -0 httpd-test/perl-framework/Apache-Test/lib/Apache/TestMB.pm Index: TestMB.pm =================================================================== RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestMB.pm,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- TestMB.pm 5 Oct 2004 20:08:22 -0000 1.9 +++ TestMB.pm 20 Oct 2004 01:27:17 -0000 1.10 @@ -81,6 +81,13 @@ $self->do_system('cover'); } +sub ACTION_test_config { + my $self = shift; + $self->do_system($self->perl, $self->_bliblib, + $self->localize_file_path($self->apache_test_script), + '-conf', '-verbose=' . ($self->verbose || 0)); +} + sub _bliblib { my $self = shift; return ( @@ -101,6 +108,7 @@ die "The cmodules" . ( $action ne 'all' ? "_$action" : '') . " action is not yet implemented"; # XXX TBD. + $self->depends_on('test_config'); my $start_dir = $self->cwd; chdir $self->localize_file_path('c-modules'); # XXX How do we get Build.PL to be generated instead of Makefile?