perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <pgollu...@p6m7g8.com>
Subject Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.91 RC1
Date Wed, 06 Dec 2006 10:00:36 GMT
Fred Moyer wrote:
> Philip M. Gollucci wrote:
>> A release candidate for Apache-SizeLimit 0.91-RC1 is now available.
>>
>> http://people.apache.org/~pgollucci/asl/Apache-SizeLimit-0.91-rc1.tar.gz

> Here's my suggested patch to handle this.  Only problem is it doesn't 
> tell you why it skipped - I know why but I don't count...
You know it helps if I read the e-mail first. I don't have darwin handy 
give it a spin, add Changes and commit -- or yell that I broke it more.

/home/pgollucci/dev/repos/asf/perl/Apache-SizeLimit/trunk 240 0 > 
 

svn diff t
Index: t/apache/all.t
===================================================================
--- t/apache/all.t      (revision 482929)
+++ t/apache/all.t      (working copy)
@@ -25,6 +25,11 @@
      elsif ( $Config{'osname'} eq 'MSWin32' ) {
          $ok &= need_module('Win32::API');
      }
+    elsif ( $Config{'osname'} eq /darwin/ ) {
+        push @Apache::Test::SkipReasons,
+            "$Config{osname} is not supported - broken getrusage(3)";
+        return 0;
+    }

      $ok &= need_module('mod_perl.c');

Index: t/apache2/all.t
===================================================================
--- t/apache2/all.t     (revision 482929)
+++ t/apache2/all.t     (working copy)
@@ -25,7 +25,13 @@
      elsif ( $Config{'osname'} eq 'MSWin32' ) {
          $ok &= need_module('Win32::API');
      }
+    elsif ( $Config{'osname'} eq /darwin/ ) {
+        push @Apache::Test::SkipReasons,
+            "$Config{osname} is not supported - broken getrusage(3)";
+        return 0;
+    }

      $ok &= need_min_apache_version("2.0.48");

      eval { require mod_perl2; };


-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

I never had a dream come true
'Til the day that I found you.
Even though I pretend that I've moved on
You'll always be my baby.
I never found the words to say
You're the one I think about each day
And I know no matter where life takes me to
A part of me will always be...
A part of me will always be with you.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message