Revision: 1037
Author: [email protected]
Date: Thu Jan 21 07:24:01 2010
Log: Skip this test if perl was configured to disable .pmc files.
http://code.google.com/p/perl-devel-nytprof/source/detail?r=1037

Modified:
 /trunk/t/test40pmc.t

=======================================
--- /trunk/t/test40pmc.t        Fri Feb  6 01:47:28 2009
+++ /trunk/t/test40pmc.t        Thu Jan 21 07:24:01 2010
@@ -1,5 +1,8 @@
 use strict;
 use Test::More;
+use Config;
+plan skip_all => ".pmc are disabled in this perl"
+    if $Config{ccflags} =~ /(?<!\w)-DPERL_DISABLE_PMC\b/;
 use lib qw(t/lib);
 use NYTProfTest;

-- 
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]

Reply via email to