Move Module::Pluggable tests up under main test directory.
Craig A. Berry [Sun, 22 Apr 2007 14:34:28 +0000 (14:34 +0000)]
p4raw-id: //depot/perl@31019

53 files changed:
MANIFEST
t/Module_Pluggable/01use.t [moved from lib/Module/Pluggable/t/01use.t with 100% similarity]
t/Module_Pluggable/02alsoworks.t [moved from lib/Module/Pluggable/t/02alsoworks.t with 100% similarity]
t/Module_Pluggable/02works.t [moved from lib/Module/Pluggable/t/02works.t with 100% similarity]
t/Module_Pluggable/02works_taint.t [moved from lib/Module/Pluggable/t/02works_taint.t with 100% similarity]
t/Module_Pluggable/03diffname.t [moved from lib/Module/Pluggable/t/03diffname.t with 100% similarity]
t/Module_Pluggable/04acmedir.t [moved from lib/Module/Pluggable/t/04acmedir.t with 100% similarity]
t/Module_Pluggable/04acmedir_single.t [moved from lib/Module/Pluggable/t/04acmedir_single.t with 100% similarity]
t/Module_Pluggable/04acmepath.t [moved from lib/Module/Pluggable/t/04acmepath.t with 100% similarity]
t/Module_Pluggable/04acmepath_single.t [moved from lib/Module/Pluggable/t/04acmepath_single.t with 100% similarity]
t/Module_Pluggable/05postpath.t [moved from lib/Module/Pluggable/t/05postpath.t with 100% similarity]
t/Module_Pluggable/06multipath.t [moved from lib/Module/Pluggable/t/06multipath.t with 100% similarity]
t/Module_Pluggable/07instantiate.t [moved from lib/Module/Pluggable/t/07instantiate.t with 100% similarity]
t/Module_Pluggable/08nothing.t [moved from lib/Module/Pluggable/t/08nothing.t with 100% similarity]
t/Module_Pluggable/09require.t [moved from lib/Module/Pluggable/t/09require.t with 100% similarity]
t/Module_Pluggable/10innerpack.t [moved from lib/Module/Pluggable/t/10innerpack.t with 100% similarity]
t/Module_Pluggable/10innerpack_inner.t [moved from lib/Module/Pluggable/t/10innerpack_inner.t with 100% similarity]
t/Module_Pluggable/10innerpack_noinner.t [moved from lib/Module/Pluggable/t/10innerpack_noinner.t with 100% similarity]
t/Module_Pluggable/10innerpack_override.t [moved from lib/Module/Pluggable/t/10innerpack_override.t with 100% similarity]
t/Module_Pluggable/11usetwice.t [moved from lib/Module/Pluggable/t/11usetwice.t with 100% similarity]
t/Module_Pluggable/12only.t [moved from lib/Module/Pluggable/t/12only.t with 100% similarity]
t/Module_Pluggable/12onlyarray.t [moved from lib/Module/Pluggable/t/12onlyarray.t with 100% similarity]
t/Module_Pluggable/12onlyregex.t [moved from lib/Module/Pluggable/t/12onlyregex.t with 100% similarity]
t/Module_Pluggable/13except.t [moved from lib/Module/Pluggable/t/13except.t with 100% similarity]
t/Module_Pluggable/13exceptarray.t [moved from lib/Module/Pluggable/t/13exceptarray.t with 100% similarity]
t/Module_Pluggable/13exceptregex.t [moved from lib/Module/Pluggable/t/13exceptregex.t with 100% similarity]
t/Module_Pluggable/14package.t [moved from lib/Module/Pluggable/t/14package.t with 100% similarity]
t/Module_Pluggable/15topicsafe.t [moved from lib/Module/Pluggable/t/15topicsafe.t with 100% similarity]
t/Module_Pluggable/16different_extension.t [moved from lib/Module/Pluggable/t/16different_extension.t with 100% similarity]
t/Module_Pluggable/17devel_inner_package.t [moved from lib/Module/Pluggable/t/17devel_inner_package.t with 100% similarity]
t/Module_Pluggable/18skipped_package.t [moved from lib/Module/Pluggable/t/18skipped_package.t with 100% similarity]
t/Module_Pluggable/19can_ok_clobber.t [moved from lib/Module/Pluggable/t/19can_ok_clobber.t with 100% similarity]
t/Module_Pluggable/20dodgy_files.t [moved from lib/Module/Pluggable/t/20dodgy_files.t with 100% similarity]
t/Module_Pluggable/acme/Acme/MyTest/Plugin/Foo.pm [moved from lib/Module/Pluggable/t/acme/Acme/MyTest/Plugin/Foo.pm with 100% similarity]
t/Module_Pluggable/lib/Acme/MyTest/Plugin/Foo.pm [moved from lib/Module/Pluggable/t/lib/Acme/MyTest/Plugin/Foo.pm with 100% similarity]
t/Module_Pluggable/lib/ExtTest/Plugin/Bar.plugin [moved from lib/Module/Pluggable/t/lib/ExtTest/Plugin/Bar.plugin with 100% similarity]
t/Module_Pluggable/lib/ExtTest/Plugin/Foo.plugin [moved from lib/Module/Pluggable/t/lib/ExtTest/Plugin/Foo.plugin with 100% similarity]
t/Module_Pluggable/lib/ExtTest/Plugin/Quux/Foo.plugin [moved from lib/Module/Pluggable/t/lib/ExtTest/Plugin/Quux/Foo.plugin with 100% similarity]
t/Module_Pluggable/lib/InnerTest/Plugin/Foo.pm [moved from lib/Module/Pluggable/t/lib/InnerTest/Plugin/Foo.pm with 100% similarity]
t/Module_Pluggable/lib/MyOtherTest/Plugin/Bar.pm [moved from lib/Module/Pluggable/t/lib/MyOtherTest/Plugin/Bar.pm with 100% similarity]
t/Module_Pluggable/lib/MyOtherTest/Plugin/Foo.pm [moved from lib/Module/Pluggable/t/lib/MyOtherTest/Plugin/Foo.pm with 100% similarity]
t/Module_Pluggable/lib/MyOtherTest/Plugin/Quux.pm [moved from lib/Module/Pluggable/t/lib/MyOtherTest/Plugin/Quux.pm with 100% similarity]
t/Module_Pluggable/lib/MyOtherTest/Plugin/Quux/Foo.pm [moved from lib/Module/Pluggable/t/lib/MyOtherTest/Plugin/Quux/Foo.pm with 100% similarity]
t/Module_Pluggable/lib/MyTest/Extend/Plugin/Bar.pm [moved from lib/Module/Pluggable/t/lib/MyTest/Extend/Plugin/Bar.pm with 100% similarity]
t/Module_Pluggable/lib/MyTest/Plugin/Bar.pm [moved from lib/Module/Pluggable/t/lib/MyTest/Plugin/Bar.pm with 100% similarity]
t/Module_Pluggable/lib/MyTest/Plugin/Foo.pm [moved from lib/Module/Pluggable/t/lib/MyTest/Plugin/Foo.pm with 100% similarity]
t/Module_Pluggable/lib/MyTest/Plugin/Quux/Foo.pm [moved from lib/Module/Pluggable/t/lib/MyTest/Plugin/Quux/Foo.pm with 100% similarity]
t/Module_Pluggable/lib/No/Middle.pm [moved from lib/Module/Pluggable/t/lib/No/Middle.pm with 100% similarity]
t/Module_Pluggable/lib/OddTest/Plugin/-Dodgy.pm [moved from lib/Module/Pluggable/t/lib/OddTest/Plugin/-Dodgy.pm with 100% similarity]
t/Module_Pluggable/lib/OddTest/Plugin/Foo.pm [moved from lib/Module/Pluggable/t/lib/OddTest/Plugin/Foo.pm with 100% similarity]
t/Module_Pluggable/lib/TA/C/A/I.pm [moved from lib/Module/Pluggable/t/lib/TA/C/A/I.pm with 100% similarity]
t/TEST
t/harness

index 7a9e182..20e0ef9 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -2202,56 +2202,6 @@ lib/Module/Load/t/to_load/TestModule.pm  Module::Load tests
 lib/Module/Load/t/to_load/ToBeLoaded   Module::Load tests
 lib/Module/Pluggable/Object.pm Module::Pluggable
 lib/Module/Pluggable.pm        Module::Pluggable
-lib/Module/Pluggable/t/01use.t Module::Pluggable tests
-lib/Module/Pluggable/t/02alsoworks.t   Module::Pluggable tests
-lib/Module/Pluggable/t/02works.t       Module::Pluggable tests
-lib/Module/Pluggable/t/02works_taint.t Module::Pluggable tests
-lib/Module/Pluggable/t/03diffname.t    Module::Pluggable tests
-lib/Module/Pluggable/t/04acmedir_single.t      Module::Pluggable tests
-lib/Module/Pluggable/t/04acmedir.t     Module::Pluggable tests
-lib/Module/Pluggable/t/04acmepath_single.t     Module::Pluggable tests
-lib/Module/Pluggable/t/04acmepath.t    Module::Pluggable tests
-lib/Module/Pluggable/t/05postpath.t    Module::Pluggable tests
-lib/Module/Pluggable/t/06multipath.t   Module::Pluggable tests
-lib/Module/Pluggable/t/07instantiate.t Module::Pluggable tests
-lib/Module/Pluggable/t/08nothing.t     Module::Pluggable tests
-lib/Module/Pluggable/t/09require.t     Module::Pluggable tests
-lib/Module/Pluggable/t/10innerpack_inner.t     Module::Pluggable tests
-lib/Module/Pluggable/t/10innerpack_noinner.t   Module::Pluggable tests
-lib/Module/Pluggable/t/10innerpack_override.t  Module::Pluggable tests
-lib/Module/Pluggable/t/10innerpack.t   Module::Pluggable tests
-lib/Module/Pluggable/t/11usetwice.t    Module::Pluggable tests
-lib/Module/Pluggable/t/12onlyarray.t   Module::Pluggable tests
-lib/Module/Pluggable/t/12onlyregex.t   Module::Pluggable tests
-lib/Module/Pluggable/t/12only.t        Module::Pluggable tests
-lib/Module/Pluggable/t/13exceptarray.t Module::Pluggable tests
-lib/Module/Pluggable/t/13exceptregex.t Module::Pluggable tests
-lib/Module/Pluggable/t/13except.t      Module::Pluggable tests
-lib/Module/Pluggable/t/14package.t     Module::Pluggable tests
-lib/Module/Pluggable/t/15topicsafe.t   Module::Pluggable tests
-lib/Module/Pluggable/t/16different_extension.t Module::Pluggable tests
-lib/Module/Pluggable/t/17devel_inner_package.t Module::Pluggable tests
-lib/Module/Pluggable/t/18skipped_package.t     Module::Pluggable tests
-lib/Module/Pluggable/t/19can_ok_clobber.t      Module::Pluggable tests
-lib/Module/Pluggable/t/20dodgy_files.t Module::Pluggable tests
-lib/Module/Pluggable/t/acme/Acme/MyTest/Plugin/Foo.pm  Module::Pluggable tests
-lib/Module/Pluggable/t/lib/Acme/MyTest/Plugin/Foo.pm   Module::Pluggable tests
-lib/Module/Pluggable/t/lib/ExtTest/Plugin/Bar.plugin   Module::Pluggable tests
-lib/Module/Pluggable/t/lib/ExtTest/Plugin/Foo.plugin   Module::Pluggable tests
-lib/Module/Pluggable/t/lib/ExtTest/Plugin/Quux/Foo.plugin      Module::Pluggable tests
-lib/Module/Pluggable/t/lib/InnerTest/Plugin/Foo.pm     Module::Pluggable tests
-lib/Module/Pluggable/t/lib/MyOtherTest/Plugin/Bar.pm   Module::Pluggable tests
-lib/Module/Pluggable/t/lib/MyOtherTest/Plugin/Foo.pm   Module::Pluggable tests
-lib/Module/Pluggable/t/lib/MyOtherTest/Plugin/Quux/Foo.pm      Module::Pluggable tests
-lib/Module/Pluggable/t/lib/MyOtherTest/Plugin/Quux.pm  Module::Pluggable tests
-lib/Module/Pluggable/t/lib/MyTest/Extend/Plugin/Bar.pm Module::Pluggable tests
-lib/Module/Pluggable/t/lib/MyTest/Plugin/Bar.pm        Module::Pluggable tests
-lib/Module/Pluggable/t/lib/MyTest/Plugin/Foo.pm        Module::Pluggable tests
-lib/Module/Pluggable/t/lib/MyTest/Plugin/Quux/Foo.pm   Module::Pluggable tests
-lib/Module/Pluggable/t/lib/No/Middle.pm        Module::Pluggable tests
-lib/Module/Pluggable/t/lib/OddTest/Plugin/-Dodgy.pm    Module::Pluggable tests
-lib/Module/Pluggable/t/lib/OddTest/Plugin/Foo.pm       Module::Pluggable tests
-lib/Module/Pluggable/t/lib/TA/C/A/I.pm Module::Pluggable tests
 lib/mro.pm                     mro extension
 lib/Net/Changes.libnet         libnet
 lib/Net/Cmd.pm                 libnet
@@ -3623,6 +3573,56 @@ t/lib/warnings/toke              Tests for toke.c for warnings.t
 t/lib/warnings/universal       Tests for universal.c for warnings.t
 t/lib/warnings/utf8            Tests for utf8.c for warnings.t
 t/lib/warnings/util            Tests for util.c for warnings.t
+t/Module_Pluggable/01use.t     Module::Pluggable tests
+t/Module_Pluggable/02alsoworks.t       Module::Pluggable tests
+t/Module_Pluggable/02works.t   Module::Pluggable tests
+t/Module_Pluggable/02works_taint.t     Module::Pluggable tests
+t/Module_Pluggable/03diffname.t        Module::Pluggable tests
+t/Module_Pluggable/04acmedir_single.t  Module::Pluggable tests
+t/Module_Pluggable/04acmedir.t Module::Pluggable tests
+t/Module_Pluggable/04acmepath_single.t Module::Pluggable tests
+t/Module_Pluggable/04acmepath.t        Module::Pluggable tests
+t/Module_Pluggable/05postpath.t        Module::Pluggable tests
+t/Module_Pluggable/06multipath.t       Module::Pluggable tests
+t/Module_Pluggable/07instantiate.t     Module::Pluggable tests
+t/Module_Pluggable/08nothing.t Module::Pluggable tests
+t/Module_Pluggable/09require.t Module::Pluggable tests
+t/Module_Pluggable/10innerpack_inner.t Module::Pluggable tests
+t/Module_Pluggable/10innerpack_noinner.t       Module::Pluggable tests
+t/Module_Pluggable/10innerpack_override.t      Module::Pluggable tests
+t/Module_Pluggable/10innerpack.t       Module::Pluggable tests
+t/Module_Pluggable/11usetwice.t        Module::Pluggable tests
+t/Module_Pluggable/12onlyarray.t       Module::Pluggable tests
+t/Module_Pluggable/12onlyregex.t       Module::Pluggable tests
+t/Module_Pluggable/12only.t    Module::Pluggable tests
+t/Module_Pluggable/13exceptarray.t     Module::Pluggable tests
+t/Module_Pluggable/13exceptregex.t     Module::Pluggable tests
+t/Module_Pluggable/13except.t  Module::Pluggable tests
+t/Module_Pluggable/14package.t Module::Pluggable tests
+t/Module_Pluggable/15topicsafe.t       Module::Pluggable tests
+t/Module_Pluggable/16different_extension.t     Module::Pluggable tests
+t/Module_Pluggable/17devel_inner_package.t     Module::Pluggable tests
+t/Module_Pluggable/18skipped_package.t Module::Pluggable tests
+t/Module_Pluggable/19can_ok_clobber.t  Module::Pluggable tests
+t/Module_Pluggable/20dodgy_files.t     Module::Pluggable tests
+t/Module_Pluggable/acme/Acme/MyTest/Plugin/Foo.pm      Module::Pluggable tests
+t/Module_Pluggable/lib/Acme/MyTest/Plugin/Foo.pm       Module::Pluggable tests
+t/Module_Pluggable/lib/ExtTest/Plugin/Bar.plugin       Module::Pluggable tests
+t/Module_Pluggable/lib/ExtTest/Plugin/Foo.plugin       Module::Pluggable tests
+t/Module_Pluggable/lib/ExtTest/Plugin/Quux/Foo.plugin  Module::Pluggable tests
+t/Module_Pluggable/lib/InnerTest/Plugin/Foo.pm Module::Pluggable tests
+t/Module_Pluggable/lib/MyOtherTest/Plugin/Bar.pm       Module::Pluggable tests
+t/Module_Pluggable/lib/MyOtherTest/Plugin/Foo.pm       Module::Pluggable tests
+t/Module_Pluggable/lib/MyOtherTest/Plugin/Quux/Foo.pm  Module::Pluggable tests
+t/Module_Pluggable/lib/MyOtherTest/Plugin/Quux.pm      Module::Pluggable tests
+t/Module_Pluggable/lib/MyTest/Extend/Plugin/Bar.pm     Module::Pluggable tests
+t/Module_Pluggable/lib/MyTest/Plugin/Bar.pm    Module::Pluggable tests
+t/Module_Pluggable/lib/MyTest/Plugin/Foo.pm    Module::Pluggable tests
+t/Module_Pluggable/lib/MyTest/Plugin/Quux/Foo.pm       Module::Pluggable tests
+t/Module_Pluggable/lib/No/Middle.pm    Module::Pluggable tests
+t/Module_Pluggable/lib/OddTest/Plugin/-Dodgy.pm        Module::Pluggable tests
+t/Module_Pluggable/lib/OddTest/Plugin/Foo.pm   Module::Pluggable tests
+t/Module_Pluggable/lib/TA/C/A/I.pm     Module::Pluggable tests
 t/mro/basic_01_c3.t            mro tests
 t/mro/basic_01_dfs.t           mro tests
 t/mro/basic_02_c3.t            mro tests
diff --git a/t/TEST b/t/TEST
index cfc0725..5c6c613 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -163,6 +163,7 @@ unless (@ARGV) {
        warn "$0: cannot open $mani: $!\n";
     }
     unless ($::core) {
+       _find_tests('Module_Pluggable');
        _find_tests('pod');
        _find_tests('x2p');
        _find_tests('japh') if $::torture;
index 1ca02d9..e7c1e88 100644 (file)
--- a/t/harness
+++ b/t/harness
@@ -117,6 +117,7 @@ if (@ARGV) {
        } else {
            warn "$0: cannot open $mani: $!\n";
        }
+       push @tests, <Module_Pluggable/*.t>;
        push @tests, <pod/*.t>;
        push @tests, <x2p/*.t>;
     }