[RESEND] [PATCH] Mac OS lib patches for bleadperl
[p5sagit/p5-mst-13.2.git] / t / lib / 1_compile.t
index 2190e35..a713c6c 100644 (file)
@@ -61,6 +61,8 @@ delete_by_prefix('ExtUtils::MM_');    # ExtUtils::MakeMaker's domain
 delete_by_prefix('File::Spec::');      # File::Spec's domain
 add_by_name('File::Spec::Functions');  # put this back
 
+delete_by_prefix('Attribute::Handlers');# we test this, and we have demos
+
 sub using_feature {
     my $use = "use$_[0]";
     exists $Config{$use} &&
@@ -76,9 +78,8 @@ unless (using_feature('threads') && has_extension('Thread')) {
 delete_by_prefix('unicode::');
 add_by_name('unicode::distinct');      # put this back
 
-
-# Delete all modules which have their own tests.  This makes
-# this test a lot faster.
+# Delete all modules which have their own tests.
+# This makes this test a lot faster.
 foreach my $mod (<DATA>) {
     chomp $mod;
     delete_by_name($mod);
@@ -106,8 +107,11 @@ sub compile_module {
     return scalar `$^X "-Ilib" t/lib/compmod.pl $module` =~ /^ok/;
 }
 
+# Add here modules that have their own test scripts and therefore
+# need not be test-compiled by 1_compile.t.
 __DATA__
 AnyDBM_File
+Attribute::Handlers
 AutoLoader
 B
 B::Debug
@@ -119,6 +123,7 @@ CGI
 CGI::Pretty
 CGI::Util
 Carp
+Carp::Heavy
 Class::ISA
 Class::Struct
 CPAN
@@ -138,10 +143,13 @@ Env
 Errno
 Exporter
 Exporter::Heavy
+ExtUtils::Constant
+ExtUtils::MakeMaker
 Fatal
 Fcntl
 File::Basename
 File::CheckTree
+File::Compare
 File::Copy
 File::DosGlob
 File::Find
@@ -150,6 +158,7 @@ File::Path
 File::Spec
 File::Spec::Functions
 File::Temp
+File::stat
 FileCache
 FileHandle
 Filter::Simple
@@ -158,7 +167,8 @@ FindBin
 GDBM_File
 Getopt::Long
 Getopt::Std
-I18N:Collate
+I18N::LangTags
+I18N::Collate
 IO::Dir
 IO::File
 IO::Handle
@@ -177,6 +187,7 @@ Locale::Constants
 Locale::Country
 Locale::Currency
 Locale::Language
+Locale::Maketext
 MIME::Base64
 MIME::QuotedPrint
 Math::BigFloat
@@ -186,8 +197,12 @@ Math::Trig
 NDBM_File
 NEXT
 Net::hostent
+Net::netent
+Net::protoent
+Net::servent
 ODBM_File
 Opcode
+PerlIO
 POSIX
 Pod::Checker
 Pod::Find
@@ -225,9 +240,15 @@ Tie::SubstrHash
 Time::HiRes
 Time::Local
 Time::Piece
+Time::gmtime
+Time::localtime
+Time::tm
 UNIVERSAL
+User::grent
+User::pwent
 XS::Typemap
 attrs
+autouse
 base
 bytes
 charnames