From: Nicholas Clark Date: Tue, 19 Aug 2008 18:09:00 +0000 (+0000) Subject: Move the modules, tests, prove and Changes file from lib/ to X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=90bc526312d7d2f64b432a8f23bf7cd3105eac1d;p=p5sagit%2Fp5-mst-13.2.git Move the modules, tests, prove and Changes file from lib/ to 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 --- diff --git a/MANIFEST b/MANIFEST index 6435153..12a6474 100644 --- 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/lib/Test/Harness/Changes b/ext/Test/Harness/Changes similarity index 100% rename from lib/Test/Harness/Changes rename to ext/Test/Harness/Changes diff --git a/ext/Test/Harness/Makefile.PL b/ext/Test/Harness/Makefile.PL new file mode 100644 index 0000000..e6e34c3 --- /dev/null +++ b/ext/Test/Harness/Makefile.PL @@ -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 ); +} diff --git a/lib/Test/Harness/bin/prove b/ext/Test/Harness/bin/prove similarity index 100% rename from lib/Test/Harness/bin/prove rename to ext/Test/Harness/bin/prove diff --git a/lib/App/Prove.pm b/ext/Test/Harness/lib/App/Prove.pm similarity index 100% rename from lib/App/Prove.pm rename to ext/Test/Harness/lib/App/Prove.pm diff --git a/lib/App/Prove/State.pm b/ext/Test/Harness/lib/App/Prove/State.pm similarity index 100% rename from lib/App/Prove/State.pm rename to ext/Test/Harness/lib/App/Prove/State.pm diff --git a/lib/TAP/Base.pm b/ext/Test/Harness/lib/TAP/Base.pm similarity index 100% rename from lib/TAP/Base.pm rename to ext/Test/Harness/lib/TAP/Base.pm diff --git a/lib/TAP/Formatter/Color.pm b/ext/Test/Harness/lib/TAP/Formatter/Color.pm similarity index 100% rename from lib/TAP/Formatter/Color.pm rename to ext/Test/Harness/lib/TAP/Formatter/Color.pm diff --git a/lib/TAP/Formatter/Console.pm b/ext/Test/Harness/lib/TAP/Formatter/Console.pm similarity index 100% rename from lib/TAP/Formatter/Console.pm rename to ext/Test/Harness/lib/TAP/Formatter/Console.pm diff --git a/lib/TAP/Formatter/Console/ParallelSession.pm b/ext/Test/Harness/lib/TAP/Formatter/Console/ParallelSession.pm similarity index 100% rename from lib/TAP/Formatter/Console/ParallelSession.pm rename to ext/Test/Harness/lib/TAP/Formatter/Console/ParallelSession.pm diff --git a/lib/TAP/Formatter/Console/Session.pm b/ext/Test/Harness/lib/TAP/Formatter/Console/Session.pm similarity index 100% rename from lib/TAP/Formatter/Console/Session.pm rename to ext/Test/Harness/lib/TAP/Formatter/Console/Session.pm diff --git a/lib/TAP/Harness.pm b/ext/Test/Harness/lib/TAP/Harness.pm similarity index 100% rename from lib/TAP/Harness.pm rename to ext/Test/Harness/lib/TAP/Harness.pm diff --git a/lib/TAP/Object.pm b/ext/Test/Harness/lib/TAP/Object.pm similarity index 100% rename from lib/TAP/Object.pm rename to ext/Test/Harness/lib/TAP/Object.pm diff --git a/lib/TAP/Parser.pm b/ext/Test/Harness/lib/TAP/Parser.pm similarity index 100% rename from lib/TAP/Parser.pm rename to ext/Test/Harness/lib/TAP/Parser.pm diff --git a/lib/TAP/Parser/Aggregator.pm b/ext/Test/Harness/lib/TAP/Parser/Aggregator.pm similarity index 100% rename from lib/TAP/Parser/Aggregator.pm rename to ext/Test/Harness/lib/TAP/Parser/Aggregator.pm diff --git a/lib/TAP/Parser/Grammar.pm b/ext/Test/Harness/lib/TAP/Parser/Grammar.pm similarity index 100% rename from lib/TAP/Parser/Grammar.pm rename to ext/Test/Harness/lib/TAP/Parser/Grammar.pm diff --git a/lib/TAP/Parser/Iterator.pm b/ext/Test/Harness/lib/TAP/Parser/Iterator.pm similarity index 100% rename from lib/TAP/Parser/Iterator.pm rename to ext/Test/Harness/lib/TAP/Parser/Iterator.pm diff --git a/lib/TAP/Parser/Iterator/Array.pm b/ext/Test/Harness/lib/TAP/Parser/Iterator/Array.pm similarity index 100% rename from lib/TAP/Parser/Iterator/Array.pm rename to ext/Test/Harness/lib/TAP/Parser/Iterator/Array.pm diff --git a/lib/TAP/Parser/Iterator/Process.pm b/ext/Test/Harness/lib/TAP/Parser/Iterator/Process.pm similarity index 100% rename from lib/TAP/Parser/Iterator/Process.pm rename to ext/Test/Harness/lib/TAP/Parser/Iterator/Process.pm diff --git a/lib/TAP/Parser/Iterator/Stream.pm b/ext/Test/Harness/lib/TAP/Parser/Iterator/Stream.pm similarity index 100% rename from lib/TAP/Parser/Iterator/Stream.pm rename to ext/Test/Harness/lib/TAP/Parser/Iterator/Stream.pm diff --git a/lib/TAP/Parser/IteratorFactory.pm b/ext/Test/Harness/lib/TAP/Parser/IteratorFactory.pm similarity index 100% rename from lib/TAP/Parser/IteratorFactory.pm rename to ext/Test/Harness/lib/TAP/Parser/IteratorFactory.pm diff --git a/lib/TAP/Parser/Multiplexer.pm b/ext/Test/Harness/lib/TAP/Parser/Multiplexer.pm similarity index 100% rename from lib/TAP/Parser/Multiplexer.pm rename to ext/Test/Harness/lib/TAP/Parser/Multiplexer.pm diff --git a/lib/TAP/Parser/Result.pm b/ext/Test/Harness/lib/TAP/Parser/Result.pm similarity index 100% rename from lib/TAP/Parser/Result.pm rename to ext/Test/Harness/lib/TAP/Parser/Result.pm diff --git a/lib/TAP/Parser/Result/Bailout.pm b/ext/Test/Harness/lib/TAP/Parser/Result/Bailout.pm similarity index 100% rename from lib/TAP/Parser/Result/Bailout.pm rename to ext/Test/Harness/lib/TAP/Parser/Result/Bailout.pm diff --git a/lib/TAP/Parser/Result/Comment.pm b/ext/Test/Harness/lib/TAP/Parser/Result/Comment.pm similarity index 100% rename from lib/TAP/Parser/Result/Comment.pm rename to ext/Test/Harness/lib/TAP/Parser/Result/Comment.pm diff --git a/lib/TAP/Parser/Result/Plan.pm b/ext/Test/Harness/lib/TAP/Parser/Result/Plan.pm similarity index 100% rename from lib/TAP/Parser/Result/Plan.pm rename to ext/Test/Harness/lib/TAP/Parser/Result/Plan.pm diff --git a/lib/TAP/Parser/Result/Pragma.pm b/ext/Test/Harness/lib/TAP/Parser/Result/Pragma.pm similarity index 100% rename from lib/TAP/Parser/Result/Pragma.pm rename to ext/Test/Harness/lib/TAP/Parser/Result/Pragma.pm diff --git a/lib/TAP/Parser/Result/Test.pm b/ext/Test/Harness/lib/TAP/Parser/Result/Test.pm similarity index 100% rename from lib/TAP/Parser/Result/Test.pm rename to ext/Test/Harness/lib/TAP/Parser/Result/Test.pm diff --git a/lib/TAP/Parser/Result/Unknown.pm b/ext/Test/Harness/lib/TAP/Parser/Result/Unknown.pm similarity index 100% rename from lib/TAP/Parser/Result/Unknown.pm rename to ext/Test/Harness/lib/TAP/Parser/Result/Unknown.pm diff --git a/lib/TAP/Parser/Result/Version.pm b/ext/Test/Harness/lib/TAP/Parser/Result/Version.pm similarity index 100% rename from lib/TAP/Parser/Result/Version.pm rename to ext/Test/Harness/lib/TAP/Parser/Result/Version.pm diff --git a/lib/TAP/Parser/Result/YAML.pm b/ext/Test/Harness/lib/TAP/Parser/Result/YAML.pm similarity index 100% rename from lib/TAP/Parser/Result/YAML.pm rename to ext/Test/Harness/lib/TAP/Parser/Result/YAML.pm diff --git a/lib/TAP/Parser/ResultFactory.pm b/ext/Test/Harness/lib/TAP/Parser/ResultFactory.pm similarity index 100% rename from lib/TAP/Parser/ResultFactory.pm rename to ext/Test/Harness/lib/TAP/Parser/ResultFactory.pm diff --git a/lib/TAP/Parser/Scheduler.pm b/ext/Test/Harness/lib/TAP/Parser/Scheduler.pm similarity index 100% rename from lib/TAP/Parser/Scheduler.pm rename to ext/Test/Harness/lib/TAP/Parser/Scheduler.pm diff --git a/lib/TAP/Parser/Scheduler/Job.pm b/ext/Test/Harness/lib/TAP/Parser/Scheduler/Job.pm similarity index 100% rename from lib/TAP/Parser/Scheduler/Job.pm rename to ext/Test/Harness/lib/TAP/Parser/Scheduler/Job.pm diff --git a/lib/TAP/Parser/Scheduler/Spinner.pm b/ext/Test/Harness/lib/TAP/Parser/Scheduler/Spinner.pm similarity index 100% rename from lib/TAP/Parser/Scheduler/Spinner.pm rename to ext/Test/Harness/lib/TAP/Parser/Scheduler/Spinner.pm diff --git a/lib/TAP/Parser/Source.pm b/ext/Test/Harness/lib/TAP/Parser/Source.pm similarity index 100% rename from lib/TAP/Parser/Source.pm rename to ext/Test/Harness/lib/TAP/Parser/Source.pm diff --git a/lib/TAP/Parser/Source/Perl.pm b/ext/Test/Harness/lib/TAP/Parser/Source/Perl.pm similarity index 100% rename from lib/TAP/Parser/Source/Perl.pm rename to ext/Test/Harness/lib/TAP/Parser/Source/Perl.pm diff --git a/lib/TAP/Parser/Utils.pm b/ext/Test/Harness/lib/TAP/Parser/Utils.pm similarity index 100% rename from lib/TAP/Parser/Utils.pm rename to ext/Test/Harness/lib/TAP/Parser/Utils.pm diff --git a/lib/TAP/Parser/YAMLish/Reader.pm b/ext/Test/Harness/lib/TAP/Parser/YAMLish/Reader.pm similarity index 100% rename from lib/TAP/Parser/YAMLish/Reader.pm rename to ext/Test/Harness/lib/TAP/Parser/YAMLish/Reader.pm diff --git a/lib/TAP/Parser/YAMLish/Writer.pm b/ext/Test/Harness/lib/TAP/Parser/YAMLish/Writer.pm similarity index 100% rename from lib/TAP/Parser/YAMLish/Writer.pm rename to ext/Test/Harness/lib/TAP/Parser/YAMLish/Writer.pm diff --git a/lib/Test/Harness.pm b/ext/Test/Harness/lib/Test/Harness.pm similarity index 100% rename from lib/Test/Harness.pm rename to ext/Test/Harness/lib/Test/Harness.pm diff --git a/lib/Test/Harness/t/000-load.t b/ext/Test/Harness/t/000-load.t similarity index 100% rename from lib/Test/Harness/t/000-load.t rename to ext/Test/Harness/t/000-load.t diff --git a/lib/Test/Harness/t/aggregator.t b/ext/Test/Harness/t/aggregator.t similarity index 100% rename from lib/Test/Harness/t/aggregator.t rename to ext/Test/Harness/t/aggregator.t diff --git a/lib/Test/Harness/t/bailout.t b/ext/Test/Harness/t/bailout.t similarity index 100% rename from lib/Test/Harness/t/bailout.t rename to ext/Test/Harness/t/bailout.t diff --git a/lib/Test/Harness/t/base.t b/ext/Test/Harness/t/base.t similarity index 100% rename from lib/Test/Harness/t/base.t rename to ext/Test/Harness/t/base.t diff --git a/lib/Test/Harness/t/callbacks.t b/ext/Test/Harness/t/callbacks.t similarity index 100% rename from lib/Test/Harness/t/callbacks.t rename to ext/Test/Harness/t/callbacks.t diff --git a/lib/Test/Harness/t/compat/env.t b/ext/Test/Harness/t/compat/env.t similarity index 100% rename from lib/Test/Harness/t/compat/env.t rename to ext/Test/Harness/t/compat/env.t diff --git a/lib/Test/Harness/t/compat/failure.t b/ext/Test/Harness/t/compat/failure.t similarity index 100% rename from lib/Test/Harness/t/compat/failure.t rename to ext/Test/Harness/t/compat/failure.t diff --git a/lib/Test/Harness/t/compat/inc-propagation.t b/ext/Test/Harness/t/compat/inc-propagation.t similarity index 100% rename from lib/Test/Harness/t/compat/inc-propagation.t rename to ext/Test/Harness/t/compat/inc-propagation.t diff --git a/lib/Test/Harness/t/compat/inc_taint.t b/ext/Test/Harness/t/compat/inc_taint.t similarity index 100% rename from lib/Test/Harness/t/compat/inc_taint.t rename to ext/Test/Harness/t/compat/inc_taint.t diff --git a/lib/Test/Harness/t/compat/nonumbers.t b/ext/Test/Harness/t/compat/nonumbers.t similarity index 100% rename from lib/Test/Harness/t/compat/nonumbers.t rename to ext/Test/Harness/t/compat/nonumbers.t diff --git a/lib/Test/Harness/t/compat/regression.t b/ext/Test/Harness/t/compat/regression.t similarity index 100% rename from lib/Test/Harness/t/compat/regression.t rename to ext/Test/Harness/t/compat/regression.t diff --git a/lib/Test/Harness/t/compat/test-harness-compat.t b/ext/Test/Harness/t/compat/test-harness-compat.t similarity index 100% rename from lib/Test/Harness/t/compat/test-harness-compat.t rename to ext/Test/Harness/t/compat/test-harness-compat.t diff --git a/lib/Test/Harness/t/compat/version.t b/ext/Test/Harness/t/compat/version.t similarity index 100% rename from lib/Test/Harness/t/compat/version.t rename to ext/Test/Harness/t/compat/version.t diff --git a/lib/Test/Harness/t/console.t b/ext/Test/Harness/t/console.t similarity index 100% rename from lib/Test/Harness/t/console.t rename to ext/Test/Harness/t/console.t diff --git a/lib/Test/Harness/t/errors.t b/ext/Test/Harness/t/errors.t similarity index 100% rename from lib/Test/Harness/t/errors.t rename to ext/Test/Harness/t/errors.t diff --git a/lib/Test/Harness/t/grammar.t b/ext/Test/Harness/t/grammar.t similarity index 100% rename from lib/Test/Harness/t/grammar.t rename to ext/Test/Harness/t/grammar.t diff --git a/lib/Test/Harness/t/harness.t b/ext/Test/Harness/t/harness.t similarity index 100% rename from lib/Test/Harness/t/harness.t rename to ext/Test/Harness/t/harness.t diff --git a/lib/Test/Harness/t/iterators.t b/ext/Test/Harness/t/iterators.t similarity index 100% rename from lib/Test/Harness/t/iterators.t rename to ext/Test/Harness/t/iterators.t diff --git a/lib/Test/Harness/t/multiplexer.t b/ext/Test/Harness/t/multiplexer.t similarity index 100% rename from lib/Test/Harness/t/multiplexer.t rename to ext/Test/Harness/t/multiplexer.t diff --git a/lib/Test/Harness/t/nofork-mux.t b/ext/Test/Harness/t/nofork-mux.t 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 --- a/lib/Test/Harness/t/nofork-mux.t +++ b/ext/Test/Harness/t/nofork-mux.t @@ -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' ); diff --git a/lib/Test/Harness/t/nofork.t b/ext/Test/Harness/t/nofork.t similarity index 100% rename from lib/Test/Harness/t/nofork.t rename to ext/Test/Harness/t/nofork.t diff --git a/lib/Test/Harness/t/object.t b/ext/Test/Harness/t/object.t similarity index 100% rename from lib/Test/Harness/t/object.t rename to ext/Test/Harness/t/object.t diff --git a/lib/Test/Harness/t/parse.t b/ext/Test/Harness/t/parse.t similarity index 100% rename from lib/Test/Harness/t/parse.t rename to ext/Test/Harness/t/parse.t diff --git a/lib/Test/Harness/t/parser-config.t b/ext/Test/Harness/t/parser-config.t similarity index 100% rename from lib/Test/Harness/t/parser-config.t rename to ext/Test/Harness/t/parser-config.t diff --git a/lib/Test/Harness/t/parser-subclass.t b/ext/Test/Harness/t/parser-subclass.t similarity index 100% rename from lib/Test/Harness/t/parser-subclass.t rename to ext/Test/Harness/t/parser-subclass.t diff --git a/lib/Test/Harness/t/premature-bailout.t b/ext/Test/Harness/t/premature-bailout.t similarity index 100% rename from lib/Test/Harness/t/premature-bailout.t rename to ext/Test/Harness/t/premature-bailout.t diff --git a/lib/Test/Harness/t/process.t b/ext/Test/Harness/t/process.t similarity index 100% rename from lib/Test/Harness/t/process.t rename to ext/Test/Harness/t/process.t diff --git a/lib/Test/Harness/t/prove.t b/ext/Test/Harness/t/prove.t similarity index 100% rename from lib/Test/Harness/t/prove.t rename to ext/Test/Harness/t/prove.t diff --git a/lib/Test/Harness/t/proveenv.t b/ext/Test/Harness/t/proveenv.t similarity index 100% rename from lib/Test/Harness/t/proveenv.t rename to ext/Test/Harness/t/proveenv.t diff --git a/lib/Test/Harness/t/proverc.t b/ext/Test/Harness/t/proverc.t similarity index 100% rename from lib/Test/Harness/t/proverc.t rename to ext/Test/Harness/t/proverc.t diff --git a/lib/Test/Harness/t/proverun.t b/ext/Test/Harness/t/proverun.t similarity index 100% rename from lib/Test/Harness/t/proverun.t rename to ext/Test/Harness/t/proverun.t diff --git a/lib/Test/Harness/t/regression.t b/ext/Test/Harness/t/regression.t similarity index 100% rename from lib/Test/Harness/t/regression.t rename to ext/Test/Harness/t/regression.t diff --git a/lib/Test/Harness/t/results.t b/ext/Test/Harness/t/results.t similarity index 100% rename from lib/Test/Harness/t/results.t rename to ext/Test/Harness/t/results.t diff --git a/lib/Test/Harness/t/scheduler.t b/ext/Test/Harness/t/scheduler.t similarity index 100% rename from lib/Test/Harness/t/scheduler.t rename to ext/Test/Harness/t/scheduler.t diff --git a/lib/Test/Harness/t/source.t b/ext/Test/Harness/t/source.t similarity index 100% rename from lib/Test/Harness/t/source.t rename to ext/Test/Harness/t/source.t diff --git a/lib/Test/Harness/t/spool.t b/ext/Test/Harness/t/spool.t similarity index 100% rename from lib/Test/Harness/t/spool.t rename to ext/Test/Harness/t/spool.t diff --git a/lib/Test/Harness/t/state.t b/ext/Test/Harness/t/state.t similarity index 99% rename from lib/Test/Harness/t/state.t rename to ext/Test/Harness/t/state.t index 7ec4cfd..e6bfb7c 100644 --- a/lib/Test/Harness/t/state.t +++ b/ext/Test/Harness/t/state.t @@ -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$_"} @_; } diff --git a/lib/Test/Harness/t/streams.t b/ext/Test/Harness/t/streams.t similarity index 100% rename from lib/Test/Harness/t/streams.t rename to ext/Test/Harness/t/streams.t diff --git a/lib/Test/Harness/t/taint.t b/ext/Test/Harness/t/taint.t similarity index 100% rename from lib/Test/Harness/t/taint.t rename to ext/Test/Harness/t/taint.t diff --git a/lib/Test/Harness/t/testargs.t b/ext/Test/Harness/t/testargs.t similarity index 100% rename from lib/Test/Harness/t/testargs.t rename to ext/Test/Harness/t/testargs.t diff --git a/lib/Test/Harness/t/unicode.t b/ext/Test/Harness/t/unicode.t similarity index 100% rename from lib/Test/Harness/t/unicode.t rename to ext/Test/Harness/t/unicode.t diff --git a/lib/Test/Harness/t/utils.t b/ext/Test/Harness/t/utils.t similarity index 100% rename from lib/Test/Harness/t/utils.t rename to ext/Test/Harness/t/utils.t diff --git a/lib/Test/Harness/t/yamlish-output.t b/ext/Test/Harness/t/yamlish-output.t similarity index 100% rename from lib/Test/Harness/t/yamlish-output.t rename to ext/Test/Harness/t/yamlish-output.t diff --git a/lib/Test/Harness/t/yamlish-writer.t b/ext/Test/Harness/t/yamlish-writer.t similarity index 100% rename from lib/Test/Harness/t/yamlish-writer.t rename to ext/Test/Harness/t/yamlish-writer.t diff --git a/lib/Test/Harness/t/yamlish.t b/ext/Test/Harness/t/yamlish.t similarity index 100% rename from lib/Test/Harness/t/yamlish.t rename to ext/Test/Harness/t/yamlish.t diff --git a/utils/prove.PL b/utils/prove.PL index d1961c8..91a42e3 100644 --- a/utils/prove.PL +++ b/utils/prove.PL @@ -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 ;