This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move the modules, tests, prove and Changes file from lib/ to
authorNicholas Clark <nick@ccl4.org>
Tue, 19 Aug 2008 18:09:00 +0000 (18:09 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 19 Aug 2008 18:09:00 +0000 (18:09 +0000)
ext/Test/Harness. Not everything is there yet, but it makes it way
easier to swap the directory out and replace it with a trunk svn
checkout.

p4raw-id: //depot/perl@34206

87 files changed:
MANIFEST
ext/Test/Harness/Changes [moved from lib/Test/Harness/Changes with 100% similarity]
ext/Test/Harness/Makefile.PL [new file with mode: 0644]
ext/Test/Harness/bin/prove [moved from lib/Test/Harness/bin/prove with 100% similarity]
ext/Test/Harness/lib/App/Prove.pm [moved from lib/App/Prove.pm with 100% similarity]
ext/Test/Harness/lib/App/Prove/State.pm [moved from lib/App/Prove/State.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Base.pm [moved from lib/TAP/Base.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Formatter/Color.pm [moved from lib/TAP/Formatter/Color.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Formatter/Console.pm [moved from lib/TAP/Formatter/Console.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Formatter/Console/ParallelSession.pm [moved from lib/TAP/Formatter/Console/ParallelSession.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Formatter/Console/Session.pm [moved from lib/TAP/Formatter/Console/Session.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Harness.pm [moved from lib/TAP/Harness.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Object.pm [moved from lib/TAP/Object.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser.pm [moved from lib/TAP/Parser.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Aggregator.pm [moved from lib/TAP/Parser/Aggregator.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Grammar.pm [moved from lib/TAP/Parser/Grammar.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Iterator.pm [moved from lib/TAP/Parser/Iterator.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Iterator/Array.pm [moved from lib/TAP/Parser/Iterator/Array.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Iterator/Process.pm [moved from lib/TAP/Parser/Iterator/Process.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Iterator/Stream.pm [moved from lib/TAP/Parser/Iterator/Stream.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/IteratorFactory.pm [moved from lib/TAP/Parser/IteratorFactory.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Multiplexer.pm [moved from lib/TAP/Parser/Multiplexer.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Result.pm [moved from lib/TAP/Parser/Result.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Result/Bailout.pm [moved from lib/TAP/Parser/Result/Bailout.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Result/Comment.pm [moved from lib/TAP/Parser/Result/Comment.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Result/Plan.pm [moved from lib/TAP/Parser/Result/Plan.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Result/Pragma.pm [moved from lib/TAP/Parser/Result/Pragma.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Result/Test.pm [moved from lib/TAP/Parser/Result/Test.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Result/Unknown.pm [moved from lib/TAP/Parser/Result/Unknown.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Result/Version.pm [moved from lib/TAP/Parser/Result/Version.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Result/YAML.pm [moved from lib/TAP/Parser/Result/YAML.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/ResultFactory.pm [moved from lib/TAP/Parser/ResultFactory.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Scheduler.pm [moved from lib/TAP/Parser/Scheduler.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Scheduler/Job.pm [moved from lib/TAP/Parser/Scheduler/Job.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Scheduler/Spinner.pm [moved from lib/TAP/Parser/Scheduler/Spinner.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Source.pm [moved from lib/TAP/Parser/Source.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Source/Perl.pm [moved from lib/TAP/Parser/Source/Perl.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/Utils.pm [moved from lib/TAP/Parser/Utils.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/YAMLish/Reader.pm [moved from lib/TAP/Parser/YAMLish/Reader.pm with 100% similarity]
ext/Test/Harness/lib/TAP/Parser/YAMLish/Writer.pm [moved from lib/TAP/Parser/YAMLish/Writer.pm with 100% similarity]
ext/Test/Harness/lib/Test/Harness.pm [moved from lib/Test/Harness.pm with 100% similarity]
ext/Test/Harness/t/000-load.t [moved from lib/Test/Harness/t/000-load.t with 100% similarity]
ext/Test/Harness/t/aggregator.t [moved from lib/Test/Harness/t/aggregator.t with 100% similarity]
ext/Test/Harness/t/bailout.t [moved from lib/Test/Harness/t/bailout.t with 100% similarity]
ext/Test/Harness/t/base.t [moved from lib/Test/Harness/t/base.t with 100% similarity]
ext/Test/Harness/t/callbacks.t [moved from lib/Test/Harness/t/callbacks.t with 100% similarity]
ext/Test/Harness/t/compat/env.t [moved from lib/Test/Harness/t/compat/env.t with 100% similarity]
ext/Test/Harness/t/compat/failure.t [moved from lib/Test/Harness/t/compat/failure.t with 100% similarity]
ext/Test/Harness/t/compat/inc-propagation.t [moved from lib/Test/Harness/t/compat/inc-propagation.t with 100% similarity]
ext/Test/Harness/t/compat/inc_taint.t [moved from lib/Test/Harness/t/compat/inc_taint.t with 100% similarity]
ext/Test/Harness/t/compat/nonumbers.t [moved from lib/Test/Harness/t/compat/nonumbers.t with 100% similarity]
ext/Test/Harness/t/compat/regression.t [moved from lib/Test/Harness/t/compat/regression.t with 100% similarity]
ext/Test/Harness/t/compat/test-harness-compat.t [moved from lib/Test/Harness/t/compat/test-harness-compat.t with 100% similarity]
ext/Test/Harness/t/compat/version.t [moved from lib/Test/Harness/t/compat/version.t with 100% similarity]
ext/Test/Harness/t/console.t [moved from lib/Test/Harness/t/console.t with 100% similarity]
ext/Test/Harness/t/errors.t [moved from lib/Test/Harness/t/errors.t with 100% similarity]
ext/Test/Harness/t/grammar.t [moved from lib/Test/Harness/t/grammar.t with 100% similarity]
ext/Test/Harness/t/harness.t [moved from lib/Test/Harness/t/harness.t with 100% similarity]
ext/Test/Harness/t/iterators.t [moved from lib/Test/Harness/t/iterators.t with 100% similarity]
ext/Test/Harness/t/multiplexer.t [moved from lib/Test/Harness/t/multiplexer.t with 100% similarity]
ext/Test/Harness/t/nofork-mux.t [moved from lib/Test/Harness/t/nofork-mux.t with 76% similarity]
ext/Test/Harness/t/nofork.t [moved from lib/Test/Harness/t/nofork.t with 100% similarity]
ext/Test/Harness/t/object.t [moved from lib/Test/Harness/t/object.t with 100% similarity]
ext/Test/Harness/t/parse.t [moved from lib/Test/Harness/t/parse.t with 100% similarity]
ext/Test/Harness/t/parser-config.t [moved from lib/Test/Harness/t/parser-config.t with 100% similarity]
ext/Test/Harness/t/parser-subclass.t [moved from lib/Test/Harness/t/parser-subclass.t with 100% similarity]
ext/Test/Harness/t/premature-bailout.t [moved from lib/Test/Harness/t/premature-bailout.t with 100% similarity]
ext/Test/Harness/t/process.t [moved from lib/Test/Harness/t/process.t with 100% similarity]
ext/Test/Harness/t/prove.t [moved from lib/Test/Harness/t/prove.t with 100% similarity]
ext/Test/Harness/t/proveenv.t [moved from lib/Test/Harness/t/proveenv.t with 100% similarity]
ext/Test/Harness/t/proverc.t [moved from lib/Test/Harness/t/proverc.t with 100% similarity]
ext/Test/Harness/t/proverun.t [moved from lib/Test/Harness/t/proverun.t with 100% similarity]
ext/Test/Harness/t/regression.t [moved from lib/Test/Harness/t/regression.t with 100% similarity]
ext/Test/Harness/t/results.t [moved from lib/Test/Harness/t/results.t with 100% similarity]
ext/Test/Harness/t/scheduler.t [moved from lib/Test/Harness/t/scheduler.t with 100% similarity]
ext/Test/Harness/t/source.t [moved from lib/Test/Harness/t/source.t with 100% similarity]
ext/Test/Harness/t/spool.t [moved from lib/Test/Harness/t/spool.t with 100% similarity]
ext/Test/Harness/t/state.t [moved from lib/Test/Harness/t/state.t with 99% similarity]
ext/Test/Harness/t/streams.t [moved from lib/Test/Harness/t/streams.t with 100% similarity]
ext/Test/Harness/t/taint.t [moved from lib/Test/Harness/t/taint.t with 100% similarity]
ext/Test/Harness/t/testargs.t [moved from lib/Test/Harness/t/testargs.t with 100% similarity]
ext/Test/Harness/t/unicode.t [moved from lib/Test/Harness/t/unicode.t with 100% similarity]
ext/Test/Harness/t/utils.t [moved from lib/Test/Harness/t/utils.t with 100% similarity]
ext/Test/Harness/t/yamlish-output.t [moved from lib/Test/Harness/t/yamlish-output.t with 100% similarity]
ext/Test/Harness/t/yamlish-writer.t [moved from lib/Test/Harness/t/yamlish-writer.t with 100% similarity]
ext/Test/Harness/t/yamlish.t [moved from lib/Test/Harness/t/yamlish.t with 100% similarity]
utils/prove.PL

index 6435153..12a6474 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1121,6 +1121,91 @@ ext/Sys/Syslog/win32/PerlLog_dll.uu      Sys::Syslog extension Win32 related file
 ext/Sys/Syslog/win32/PerlLog.mc        Sys::Syslog extension Win32 related file
 ext/Sys/Syslog/win32/PerlLog_RES.uu    Sys::Syslog extension Win32 related file
 ext/Sys/Syslog/win32/Win32.pm  Sys::Syslog extension Win32 related file
+ext/Test/Harness/bin/prove             The prove harness utility
+ext/Test/Harness/Changes               Test::Harness change log
+ext/Test/Harness/lib/App/Prove.pm      Gubbins for the prove utility
+ext/Test/Harness/lib/App/Prove/State.pm        Gubbins for the prove utility
+ext/Test/Harness/lib/TAP/Base.pm                       A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Formatter/Color.pm            A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Formatter/Console/ParallelSession.pm  A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Formatter/Console.pm          A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Formatter/Console/Session.pm  A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Harness.pm                    A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Object.pm                     A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Aggregator.pm          A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Grammar.pm             A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Iterator/Array.pm      A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/IteratorFactory.pm     A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Iterator.pm            A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Iterator/Process.pm    A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Iterator/Stream.pm     A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Multiplexer.pm         A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser.pm                     A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Result/Bailout.pm      A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Result/Comment.pm      A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/ResultFactory.pm       A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Result/Plan.pm         A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Result.pm              A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Result/Pragma.pm       A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Result/Test.pm         A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Result/Unknown.pm      A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Result/Version.pm      A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Result/YAML.pm         A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Scheduler/Job.pm       A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Scheduler.pm           A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Scheduler/Spinner.pm   A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Source/Perl.pm         A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Source.pm              A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/Utils.pm               A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/YAMLish/Reader.pm      A parser for Test Anything Protocol
+ext/Test/Harness/lib/TAP/Parser/YAMLish/Writer.pm      A parser for Test Anything Protocol
+ext/Test/Harness/lib/Test/Harness.pm                   A test harness
+ext/Test/Harness/Makefile.PL                           Makefile.PL for Test::Harness
+ext/Test/Harness/t/000-load.t                          Test::Harness test
+ext/Test/Harness/t/aggregator.t                                Test::Harness test
+ext/Test/Harness/t/bailout.t                           Test::Harness test
+ext/Test/Harness/t/base.t                              Test::Harness test
+ext/Test/Harness/t/callbacks.t                         Test::Harness test
+ext/Test/Harness/t/compat/env.t                                Test::Harness test
+ext/Test/Harness/t/compat/failure.t                    Test::Harness test
+ext/Test/Harness/t/compat/inc-propagation.t            Test::Harness test
+ext/Test/Harness/t/compat/inc_taint.t                  Test::Harness test
+ext/Test/Harness/t/compat/nonumbers.t                  Test::Harness test
+ext/Test/Harness/t/compat/regression.t                 Test::Harness test
+ext/Test/Harness/t/compat/test-harness-compat.t                Test::Harness test
+ext/Test/Harness/t/compat/version.t                    Test::Harness test
+ext/Test/Harness/t/console.t                           Test::Harness test
+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/multiplexer.t                       Test::Harness test
+ext/Test/Harness/t/nofork-mux.t                                Test::Harness test
+ext/Test/Harness/t/nofork.t                            Test::Harness test
+ext/Test/Harness/t/object.t                            Test::Harness test
+ext/Test/Harness/t/parser-config.t                     Test::Harness test
+ext/Test/Harness/t/parser-subclass.t                   Test::Harness test
+ext/Test/Harness/t/parse.t                             Test::Harness test
+ext/Test/Harness/t/premature-bailout.t                 Test::Harness test
+ext/Test/Harness/t/process.t                           Test::Harness test
+ext/Test/Harness/t/proveenv.t                          Test::Harness test
+ext/Test/Harness/t/proverc.t                           Test::Harness test
+ext/Test/Harness/t/proverun.t                          Test::Harness test
+ext/Test/Harness/t/prove.t                             Test::Harness test
+ext/Test/Harness/t/regression.t                                Test::Harness test
+ext/Test/Harness/t/results.t                           Test::Harness test
+ext/Test/Harness/t/scheduler.t                         Test::Harness test
+ext/Test/Harness/t/source.t                            Test::Harness test
+ext/Test/Harness/t/spool.t                             Test::Harness test
+ext/Test/Harness/t/state.t                             Test::Harness test
+ext/Test/Harness/t/streams.t                           Test::Harness test
+ext/Test/Harness/t/taint.t                             Test::Harness test
+ext/Test/Harness/t/testargs.t                          Test::Harness test
+ext/Test/Harness/t/unicode.t                           Test::Harness test
+ext/Test/Harness/t/utils.t                             Test::Harness test
+ext/Test/Harness/t/yamlish-output.t                    Test::Harness test
+ext/Test/Harness/t/yamlish.t                           Test::Harness test
+ext/Test/Harness/t/yamlish-writer.t                    Test::Harness test
 ext/Text/Soundex/Changes       Changelog for Text::Soundex
 ext/Text/Soundex/Makefile.PL   Text::Soundex extension makefile writer
 ext/Text/Soundex/README                README for Text::Soundex
@@ -1417,8 +1502,6 @@ keywords.pl                       Program to write keywords.h
 lib/abbrev.pl                  An abbreviation table builder
 lib/AnyDBM_File.pm             Perl module to emulate dbmopen
 lib/AnyDBM_File.t              See if AnyDBM_File works
-lib/App/Prove.pm               Gubbins for the prove utility
-lib/App/Prove/State.pm         Gubbins for the prove utility
 lib/Archive/Extract.pm Archive::Extract
 lib/Archive/Extract/t/01_Archive-Extract.t     Archive::Extract tests
 lib/Archive/Extract/t/src/double_dir.zip.packed        Archive::Extract tests
@@ -2637,40 +2720,6 @@ lib/Symbol.pm                    Symbol table manipulation routines
 lib/Symbol.t                   See if Symbol works
 lib/syslog.pl                  Perl library supporting syslogging
 lib/tainted.pl                 Old code for tainting
-lib/TAP/Base.pm                                A parser for Test Anything Protocol
-lib/TAP/Formatter/Color.pm             A parser for Test Anything Protocol
-lib/TAP/Formatter/Console/ParallelSession.pm   A parser for Test Anything Protocol
-lib/TAP/Formatter/Console.pm           A parser for Test Anything Protocol
-lib/TAP/Formatter/Console/Session.pm   A parser for Test Anything Protocol
-lib/TAP/Harness.pm                     A parser for Test Anything Protocol
-lib/TAP/Object.pm                      A parser for Test Anything Protocol
-lib/TAP/Parser/Aggregator.pm           A parser for Test Anything Protocol
-lib/TAP/Parser/Grammar.pm              A parser for Test Anything Protocol
-lib/TAP/Parser/Iterator/Array.pm       A parser for Test Anything Protocol
-lib/TAP/Parser/IteratorFactory.pm      A parser for Test Anything Protocol
-lib/TAP/Parser/Iterator.pm             A parser for Test Anything Protocol
-lib/TAP/Parser/Iterator/Process.pm     A parser for Test Anything Protocol
-lib/TAP/Parser/Iterator/Stream.pm      A parser for Test Anything Protocol
-lib/TAP/Parser/Multiplexer.pm          A parser for Test Anything Protocol
-lib/TAP/Parser.pm                      A parser for Test Anything Protocol
-lib/TAP/Parser/Result/Bailout.pm       A parser for Test Anything Protocol
-lib/TAP/Parser/Result/Comment.pm       A parser for Test Anything Protocol
-lib/TAP/Parser/ResultFactory.pm                A parser for Test Anything Protocol
-lib/TAP/Parser/Result/Plan.pm          A parser for Test Anything Protocol
-lib/TAP/Parser/Result.pm               A parser for Test Anything Protocol
-lib/TAP/Parser/Result/Pragma.pm                A parser for Test Anything Protocol
-lib/TAP/Parser/Result/Test.pm          A parser for Test Anything Protocol
-lib/TAP/Parser/Result/Unknown.pm       A parser for Test Anything Protocol
-lib/TAP/Parser/Result/Version.pm       A parser for Test Anything Protocol
-lib/TAP/Parser/Result/YAML.pm          A parser for Test Anything Protocol
-lib/TAP/Parser/Scheduler/Job.pm                A parser for Test Anything Protocol
-lib/TAP/Parser/Scheduler.pm            A parser for Test Anything Protocol
-lib/TAP/Parser/Scheduler/Spinner.pm    A parser for Test Anything Protocol
-lib/TAP/Parser/Source/Perl.pm          A parser for Test Anything Protocol
-lib/TAP/Parser/Source.pm               A parser for Test Anything Protocol
-lib/TAP/Parser/Utils.pm                        A parser for Test Anything Protocol
-lib/TAP/Parser/YAMLish/Reader.pm       A parser for Test Anything Protocol
-lib/TAP/Parser/YAMLish/Writer.pm       A parser for Test Anything Protocol
 lib/Term/ANSIColor/ChangeLog   Term::ANSIColor
 lib/Term/ANSIColor.pm          Perl module supporting termcap usage
 lib/Term/ANSIColor/README      Term::ANSIColor
@@ -2691,54 +2740,6 @@ lib/Test/Builder/Module.pm       Base class for test modules
 lib/Test/Builder.pm            For writing new test libraries
 lib/Test/Builder/Tester/Color.pm       Turn on color in Test::Builder::Tester
 lib/Test/Builder/Tester.pm     For testing Test::Builder based classes
-lib/Test/Harness/bin/prove     The prove harness utility
-lib/Test/Harness/Changes       Test::Harness change log
-lib/Test/Harness.pm            A test harness
-lib/Test/Harness/t/000-load.t          Test::Harness test
-lib/Test/Harness/t/aggregator.t                Test::Harness test
-lib/Test/Harness/t/bailout.t           Test::Harness test
-lib/Test/Harness/t/base.t              Test::Harness test
-lib/Test/Harness/t/callbacks.t         Test::Harness test
-lib/Test/Harness/t/compat/env.t                Test::Harness test
-lib/Test/Harness/t/compat/failure.t    Test::Harness test
-lib/Test/Harness/t/compat/inc-propagation.t            Test::Harness test
-lib/Test/Harness/t/compat/inc_taint.t  Test::Harness test
-lib/Test/Harness/t/compat/nonumbers.t  Test::Harness test
-lib/Test/Harness/t/compat/regression.t Test::Harness test
-lib/Test/Harness/t/compat/test-harness-compat.t                Test::Harness test
-lib/Test/Harness/t/compat/version.t    Test::Harness test
-lib/Test/Harness/t/console.t           Test::Harness test
-lib/Test/Harness/t/errors.t            Test::Harness test
-lib/Test/Harness/t/grammar.t           Test::Harness test
-lib/Test/Harness/t/harness.t           Test::Harness test
-lib/Test/Harness/t/iterators.t         Test::Harness test
-lib/Test/Harness/t/multiplexer.t       Test::Harness test
-lib/Test/Harness/t/nofork-mux.t                Test::Harness test
-lib/Test/Harness/t/nofork.t            Test::Harness test
-lib/Test/Harness/t/object.t            Test::Harness test
-lib/Test/Harness/t/parser-config.t     Test::Harness test
-lib/Test/Harness/t/parser-subclass.t   Test::Harness test
-lib/Test/Harness/t/parse.t             Test::Harness test
-lib/Test/Harness/t/premature-bailout.t Test::Harness test
-lib/Test/Harness/t/process.t           Test::Harness test
-lib/Test/Harness/t/proveenv.t          Test::Harness test
-lib/Test/Harness/t/proverc.t           Test::Harness test
-lib/Test/Harness/t/proverun.t          Test::Harness test
-lib/Test/Harness/t/prove.t             Test::Harness test
-lib/Test/Harness/t/regression.t                Test::Harness test
-lib/Test/Harness/t/results.t           Test::Harness test
-lib/Test/Harness/t/scheduler.t         Test::Harness test
-lib/Test/Harness/t/source.t            Test::Harness test
-lib/Test/Harness/t/spool.t             Test::Harness test
-lib/Test/Harness/t/state.t             Test::Harness test
-lib/Test/Harness/t/streams.t           Test::Harness test
-lib/Test/Harness/t/taint.t             Test::Harness test
-lib/Test/Harness/t/testargs.t          Test::Harness test
-lib/Test/Harness/t/unicode.t           Test::Harness test
-lib/Test/Harness/t/utils.t             Test::Harness test
-lib/Test/Harness/t/yamlish-output.t    Test::Harness test
-lib/Test/Harness/t/yamlish.t           Test::Harness test
-lib/Test/Harness/t/yamlish-writer.t    Test::Harness test
 lib/Test/More.pm               More utilities for writing tests
 lib/Test.pm                    A simple framework for writing test scripts
 lib/Test/Simple/Changes                Test::Simple changes
diff --git a/ext/Test/Harness/Makefile.PL b/ext/Test/Harness/Makefile.PL
new file mode 100644 (file)
index 0000000..e6e34c3
--- /dev/null
@@ -0,0 +1,49 @@
+#!/usr/bin/perl -w
+
+# This Makefile.PL is provided for installation compatibility.
+# Extra developer actions are in the Build.PL.
+
+use ExtUtils::MakeMaker qw/WriteMakefile prompt/;
+
+use strict;
+
+my $core = grep { $_ eq 'PERL_CORE=1' } @ARGV;
+
+my %mm_args = (
+    'NAME'         => 'Test::Harness',
+    'VERSION_FROM' => 'lib/Test/Harness.pm',
+    'PREREQ_PM'    => {
+        'File::Spec' => 0.8,
+    },
+    'INSTALLDIRS' => 'perl',
+    'PL_FILES'    => {},
+    'test'        => { 'TESTS' => 't/*.t t/compat/*.t' },
+    # In the core pods will be built by installman, and prove found by
+    # utils/prove.PL
+    $core ? (
+    'MAN3PODS'    => {}
+    ) : (
+    'EXE_FILES'   => ['bin/prove'],
+    ),
+);
+
+{
+    local $^W = 0;    # Silence warning about non-numeric version
+    if ( $ExtUtils::MakeMaker::VERSION >= '6.31' ) {
+        $mm_args{LICENSE} = 'perl';
+    }
+}
+
+WriteMakefile(%mm_args);
+
+package MY;
+
+# Lifted from MM_Any.pm and modified so that make test tests against our
+# own code rather than the incumbent. If we don't do this we end up
+# loading a confused mixture of installed and new modules.
+sub test_via_harness {
+    my ( $self, $perl, $tests ) = @_;
+
+    return $self->SUPER::test_via_harness(
+        qq{$perl "-I\$(INST_LIB)" "-I\$(INST_ARCHLIB)"}, $tests );
+}
similarity index 76%
rename from lib/Test/Harness/t/nofork-mux.t
rename to ext/Test/Harness/t/nofork-mux.t
index 23a0746..5751945 100644 (file)
@@ -14,4 +14,4 @@ use strict;
 
 use NoFork;
 require(
-    ( $ENV{PERL_CORE} ? '../lib/Test/Harness/' : '' ) . 't/multiplexer.t' );
+    ( $ENV{PERL_CORE} ? '../ext/Test/Harness/' : '' ) . 't/multiplexer.t' );
similarity index 99%
rename from lib/Test/Harness/t/state.t
rename to ext/Test/Harness/t/state.t
index 7ec4cfd..e6bfb7c 100644 (file)
@@ -15,7 +15,7 @@ use Test::More;
 use App::Prove::State;
 
 sub mn {
-    my $pfx = $ENV{PERL_CORE} ? '../lib/Test/Harness/' : '';
+    my $pfx = $ENV{PERL_CORE} ? '../ext/Test/Harness/' : '';
     return map {"$pfx$_"} @_;
 }
 
index d1961c8..91a42e3 100644 (file)
@@ -34,7 +34,7 @@ $Config{startperl}
 use File::Spec;
 
 my $prove = File::Spec->catfile(File::Spec->catdir(File::Spec->updir,
-       "lib", "Test", "Harness", "bin"), "prove");
+       "ext", "Test", "Harness", "bin"), "prove");
 
 if (open(PROVE, $prove)) {
     print OUT <PROVE>;