Changeset 11030

Show
Ignore:
Timestamp:
05/03/08 21:32:41 (5 years ago)
Author:
daisuke
Message:

We don't have MP tests yet, but we may soon (comment out if you don't need it now)

Location:
lang/perl/HTTP-Engine/branches/moose
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/HTTP-Engine/branches/moose/Makefile.PL

    r10913 r11030  
    11use inc::Module::Install 0.72; 
     2BEGIN 
     3{ 
     4    eval { require mod_perl2 }; 
     5    { 
     6        no strict 'refs'; 
     7        *HAVE_MP = $@ ? sub { 0 } : sub { 1 }; 
     8    } 
     9} 
     10 
     11if (HAVE_MP) { 
     12    require Apache::TestMM; 
     13    Apache::TestMM->import(qw(clean test)); 
     14} 
    215 
    316{ 
     
    8295#); 
    8396# 
     97if (HAVE_MP) { 
     98    Apache::TestMM::filter_args(); 
     99    Apache::TestMM::generate_script('t/TEST'); 
     100} 
     101 
    84102build_requires 'Test::More'; 
    85103use_test_base; 
     
    87105auto_install; 
    88106WriteAll; 
     107