Move all of Test::Harness's test modules into ext/Test/Harness/t/lib
Nicholas Clark [Tue, 26 Aug 2008 13:29:49 +0000 (13:29 +0000)]
p4raw-id: //depot/perl@34229

26 files changed:
MANIFEST
Porting/Maintainers.pl
ext/Test/Harness/t/compat/inc_taint.t
ext/Test/Harness/t/grammar.t
ext/Test/Harness/t/harness.t
ext/Test/Harness/t/lib/App/Prove/Plugin/Dummy.pm [moved from t/lib/App/Prove/Plugin/Dummy.pm with 100% similarity]
ext/Test/Harness/t/lib/Dev/Null.pm [moved from t/lib/Dev/Null.pm with 100% similarity]
ext/Test/Harness/t/lib/EmptyParser.pm [moved from t/lib/EmptyParser.pm with 100% similarity]
ext/Test/Harness/t/lib/IO/c55Capture.pm [moved from t/lib/IO/c55Capture.pm with 100% similarity]
ext/Test/Harness/t/lib/MyCustom.pm [moved from t/lib/MyCustom.pm with 100% similarity]
ext/Test/Harness/t/lib/MyGrammar.pm [moved from t/lib/MyGrammar.pm with 100% similarity]
ext/Test/Harness/t/lib/MyIterator.pm [moved from t/lib/MyIterator.pm with 100% similarity]
ext/Test/Harness/t/lib/MyIteratorFactory.pm [moved from t/lib/MyIteratorFactory.pm with 100% similarity]
ext/Test/Harness/t/lib/MyPerlSource.pm [moved from t/lib/MyPerlSource.pm with 100% similarity]
ext/Test/Harness/t/lib/MyResult.pm [moved from t/lib/MyResult.pm with 100% similarity]
ext/Test/Harness/t/lib/MyResultFactory.pm [moved from t/lib/MyResultFactory.pm with 100% similarity]
ext/Test/Harness/t/lib/MySource.pm [moved from t/lib/MySource.pm with 100% similarity]
ext/Test/Harness/t/lib/NoFork.pm [moved from t/lib/NoFork.pm with 100% similarity]
ext/Test/Harness/t/lib/TAP/Parser/SubclassTest.pm [moved from t/lib/TAP/Parser/SubclassTest.pm with 100% similarity]
ext/Test/Harness/t/nofork-mux.t
ext/Test/Harness/t/nofork.t
ext/Test/Harness/t/parse.t
ext/Test/Harness/t/parser-config.t
ext/Test/Harness/t/parser-subclass.t
ext/Test/Harness/t/prove.t
ext/Test/Harness/t/source.t

index 8b59e69..280177c 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1182,6 +1182,20 @@ ext/Test/Harness/t/errors.t                              Test::Harness test
 ext/Test/Harness/t/grammar.t                           Test::Harness test
 ext/Test/Harness/t/harness.t                           Test::Harness test
 ext/Test/Harness/t/iterators.t                         Test::Harness test
+ext/Test/Harness/t/lib/App/Prove/Plugin/Dummy.pm       Module for testing Test::Harness
+ext/Test/Harness/t/lib/Dev/Null.pm                     Module for testing Test::Harness
+ext/Test/Harness/t/lib/EmptyParser.pm                  Module for testing Test::Harness
+ext/Test/Harness/t/lib/IO/c55Capture.pm                        Module for testing Test::Harness
+ext/Test/Harness/t/lib/MyCustom.pm                     Module for testing Test::Harness
+ext/Test/Harness/t/lib/MyGrammar.pm                    Module for testing Test::Harness
+ext/Test/Harness/t/lib/MyIteratorFactory.pm            Module for testing Test::Harness
+ext/Test/Harness/t/lib/MyIterator.pm                   Module for testing Test::Harness
+ext/Test/Harness/t/lib/MyPerlSource.pm                 Module for testing Test::Harness
+ext/Test/Harness/t/lib/MyResultFactory.pm              Module for testing Test::Harness
+ext/Test/Harness/t/lib/MyResult.pm                     Module for testing Test::Harness
+ext/Test/Harness/t/lib/MySource.pm                     Module for testing Test::Harness
+ext/Test/Harness/t/lib/NoFork.pm                       Module for testing Test::Harness
+ext/Test/Harness/t/lib/TAP/Parser/SubclassTest.pm      Module for testing Test::Harness
 ext/Test/Harness/t/multiplexer.t                       Test::Harness test
 ext/Test/Harness/t/nofork-mux.t                                Test::Harness test
 ext/Test/Harness/t/nofork.t                            Test::Harness test
@@ -3643,7 +3657,6 @@ t/io/through.t                    See if pipe passes data intact
 t/io/utf8.t                    See if file seeking works
 t/japh/abigail.t               Obscure tests
 t/lib/1_compile.t              See if the various libraries and extensions compile
-t/lib/App/Prove/Plugin/Dummy.pm        Module for testing Test::Harness
 t/lib/Cname.pm                 Test charnames in regexes (op/pat.t)
 t/lib/common.pl                        Helper for lib/{warnings,feature}.t
 t/lib/commonsense.t            See if configuration meets basic needs
@@ -3665,7 +3678,6 @@ t/lib/compress/zlib-generic.pl    Compress::Zlib
 t/lib/contains_pod.xr          Pod-Parser test file
 t/lib/cygwin.t                 Builtin cygwin function tests
 t/lib/Devel/switchd.pm         Module for t/run/switchd.t
-t/lib/Dev/Null.pm              Module for testing Test::Harness
 t/lib/dprof/test1_t            Perl code profiler tests
 t/lib/dprof/test1_v            Perl code profiler tests
 t/lib/dprof/test2_t            Perl code profiler tests
@@ -3683,7 +3695,6 @@ t/lib/dprof/test7_v               Perl code profiler tests
 t/lib/dprof/test8_t            Perl code profiler tests
 t/lib/dprof/test8_v            Perl code profiler tests
 t/lib/dprof/V.pm               Perl code profiler tests
-t/lib/EmptyParser.pm           Module for testing Test::Harness
 t/lib/feature/bundle           Tests for feature bundles
 t/lib/feature/implicit         Tests for implicit loading of feature.pm
 t/lib/feature/nonesuch         Tests for enabling/disabling nonexistent feature
@@ -3697,7 +3708,6 @@ t/lib/filter-util.pl              See if Filter::Util::Call works
 t/lib/h2ph.h                   Test header file for h2ph
 t/lib/h2ph.pht                 Generated output from h2ph.h by h2ph, for comparison
 t/lib/HasSigDie.pm             Module for testing base.pm
-t/lib/IO/c55Capture.pm         Module for testing Test::Harness
 t/lib/locale/latin1            Part of locale.t in Latin 1
 t/lib/locale/utf8              Part of locale.t in UTF8
 t/lib/MakeMaker/Test/Setup/BFD.pm      MakeMaker test utilities
@@ -3711,24 +3721,14 @@ t/lib/Math/BigInt/BareCalc.pm   Bigint's simulation of Calc
 t/lib/Math/BigInt/Scalar.pm    Pure Perl module to support Math::BigInt
 t/lib/Math/BigInt/Subclass.pm  Empty subclass of BigInt for test
 t/lib/Math/BigRat/Test.pm              Math::BigRat test helper
-t/lib/MyCustom.pm              Module for testing Test::Harness
-t/lib/MyGrammar.pm             Module for testing Test::Harness
-t/lib/MyIteratorFactory.pm     Module for testing Test::Harness
-t/lib/MyIterator.pm            Module for testing Test::Harness
-t/lib/MyPerlSource.pm          Module for testing Test::Harness
 t/lib/mypragma.pm              An example user pragma
 t/lib/mypragma.t               Test the example user pragma
-t/lib/MyResultFactory.pm       Module for testing Test::Harness
-t/lib/MyResult.pm              Module for testing Test::Harness
-t/lib/MySource.pm              Module for testing Test::Harness
-t/lib/NoFork.pm                        Module for testing Test::Harness
 t/lib/no_load.t                        Test that some modules don't load others
 t/lib/proxy_constant_subs.t    Test that Proxy Constant Subs behave correctly
 t/lib/Sans_mypragma.pm                 Test module for t/lib/mypragma.t
 t/lib/strict/refs              Tests of "use strict 'refs'" for strict.t
 t/lib/strict/subs              Tests of "use strict 'subs'" for strict.t
 t/lib/strict/vars              Tests of "use strict 'vars'" for strict.t
-t/lib/TAP/Parser/SubclassTest.pm       Module for testing Test::Harness
 t/lib/Test/Simple/Catch.pm     Utility module for testing Test::Simple
 t/lib/Test/Simple/sample_tests/death_in_eval.plx       for exit.t
 t/lib/Test/Simple/sample_tests/death.plx               for exit.t
index 5a7fbe0..144b353 100644 (file)
@@ -871,9 +871,7 @@ package Maintainers;
        'Test::Harness' =>
                {
                'MAINTAINER'    => 'andya',
-               'FILES'         => q[ext/Test/Harness t/lib/Dev/Null.pm
-                                    t/lib/App/Prove/Plugin/Dummy.pm
-                                    t/lib/IO/c55Capture.pm t/lib/NoFork.pm],
+               'FILES'         => q[ext/Test/Harness],
                'CPAN'          => 1,
                },
 
index bdb0d73..234dca0 100644 (file)
@@ -3,7 +3,7 @@
 BEGIN {
     if ( $ENV{PERL_CORE} ) {
         chdir 't';
-        @INC = ( '../lib', 'lib' );
+        @INC = ( '../lib', '../ext/Test/Harness/t/lib' );
     }
     else {
         use lib 't/lib';
index f1521ed..d880f1b 100644 (file)
@@ -5,7 +5,7 @@ use strict;
 BEGIN {
     if ( $ENV{PERL_CORE} ) {
         chdir 't';
-        @INC = ( '../lib', 'lib' );
+        @INC = ( '../lib', '../ext/Test/Harness/t/lib' );
     }
     else {
         unshift @INC, 't/lib';
index 716ea59..32b9162 100644 (file)
@@ -3,7 +3,7 @@
 BEGIN {
     if ( $ENV{PERL_CORE} ) {
         chdir 't';
-        @INC = ( '../lib', 'lib' );
+        @INC = ( '../lib', '../ext/Test/Harness/t/lib' );
     }
     else {
         unshift @INC, 't/lib';
index 5751945..d2df8d0 100644 (file)
@@ -3,7 +3,7 @@
 BEGIN {
     if ( $ENV{PERL_CORE} ) {
         chdir 't';
-        @INC = ( '../lib', 'lib' );
+        @INC = ( '../lib', '../ext/Test/Harness/t/lib' );
     }
     else {
         use lib 't/lib';
index 7f27820..72a2adb 100755 (executable)
@@ -6,7 +6,7 @@
 BEGIN {
     if ( $ENV{PERL_CORE} ) {
         chdir 't';
-        @INC = ( '../lib', 'lib' );
+        @INC = ( '../lib', '../ext/Test/Harness/t/lib' );
     }
     else {
         use lib 't/lib';
index 39f2c38..b52f2c5 100755 (executable)
@@ -5,7 +5,7 @@ use strict;
 BEGIN {
     if ( $ENV{PERL_CORE} ) {
         chdir 't';
-        @INC = ( '../lib', 'lib' );
+        @INC = ( '../lib', '../ext/Test/Harness/t/lib' );
     }
     else {
         use lib 't/lib';
index 0c74427..5f8b03f 100644 (file)
@@ -3,7 +3,7 @@
 BEGIN {
     if ( $ENV{PERL_CORE} ) {
         chdir 't';
-        @INC = ( '../lib', 'lib' );
+        @INC = ( '../lib', '../ext/Test/Harness/t/lib' );
     }
     else {
         unshift @INC, 't/lib';
index 2817751..f86c058 100644 (file)
@@ -3,7 +3,7 @@
 BEGIN {
     if ( $ENV{PERL_CORE} ) {
         chdir 't';
-        @INC = ( '../lib', 'lib' );
+        @INC = ( '../lib', '../ext/Test/Harness/t/lib' );
     }
     else {
         unshift @INC, 't/lib';
index 38b9b85..5dbbe0e 100644 (file)
@@ -3,7 +3,7 @@
 BEGIN {
     if ( $ENV{PERL_CORE} ) {
         chdir 't';
-        @INC = ( '../lib', 'lib' );
+        @INC = ( '../lib', '../ext/Test/Harness/t/lib' );
     }
     else {
         unshift @INC, 't/lib';
index a6441a5..99d81f9 100644 (file)
@@ -3,7 +3,7 @@
 BEGIN {
     if ( $ENV{PERL_CORE} ) {
         chdir 't';
-        @INC = ( '../lib', 'lib' );
+        @INC = ( '../lib', '../ext/Test/Harness/t/lib' );
     }
     else {
         unshift @INC, 't/lib';