root/Apache-Profiler/trunk/Makefile.PL

Revision 937 (checked in by miyagawa, 17 years ago)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 use ExtUtils::MakeMaker;
2 WriteMakefile(
3     'NAME'      => 'Apache::Profiler',
4     'VERSION_FROM' => 'lib/Apache/Profiler.pm', # finds $VERSION
5     'PREREQ_PM' => {
6         Test::More => 0.32,
7         mod_perl => 1.20,
8     },
9 );
10
11
12 sub MY::test {
13     if (eval "require Apache::TestMM") {
14         Apache::TestMM::generate_script('t/TEST');
15         return Apache::TestMM->test;
16     }
17
18     return <<EOF;
19 test::
20 \t\@echo This test suite requires Apache::Test
21 \t\@echo available from the mod_perl 2.0 sources
22 \t\@echo or the httpd-test distribution.
23 EOF
24     ;
25 }
Note: See TracBrowser for help on using the browser.