Upstream changes:
3.29 2013-08-10
- Get rid of use vars in favor of our in all modules (Leon Timmermans)
and tests (Karen Etheridge)
- Added use warnings to all modules (Leon Timmermans) and tests (Karen
Etheridge)
- Use parent instead of @ISA in all modules (Leon Timmermans) and
tests (Karen Etheridge)
- Fix failing test on VMS (Craig Berry)
- Improve error message on loading failure (Leon Timmermans, #77730)
- Use Text::ParseWords, deprecate TAP::Parser::Utils
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
Upstream changes:
3.27 2013-04-30
- Dramatically reduce memory usage (Nick Clark, RT #84939)
- Store test_num (in Grammar.pm) as a number instead of a string.
Reduces memory usage (Nick Clark, RT #84939)
- PERL5LIB is always propogated to a test's @INC, even with taint more
(Schwern, RT #84377)
3.26 2013-01-16
- Renamed env.opts.t to env_opts.t (for VMS)
- Skipped some TAP::Formatter::HTML tests due to this bug: #82738
from 3.23 to 3.25.
upstream changes:
3.25 2012-06-05
- Rereleased to fix CPAN permission problem. No functional change.
3.24 2012-06-03
- RT #74393: corrected typo in M::B integration docs.
- RT #63473: fix typo.
- RT #49732: Attempt to load File::Glob::Windows to get correct
glob semantics on Win32.
- RT #47890: Don't use Win32::GetShortPathName.
- RT #64404: Ignore textness ('-T') of script when reading shebang.
- Handle the case where we don't know the wait status of the
test more gracefully.
- Make the test summary 'ok' line overrideable so that it can be
changed to a plugin to make the output of prove idempotent.
- Apply upstream patch:
http://perl5.git.perl.org/perl.git/commit \
/6359c64336d99060952232e7e300bd3c31afead8
In testargs.t in Test::Harness, don't run a world-writable file.
The test writes a file, then changes the mode, then executes it.
The file needs to be +x to be executable (on many platforms).
The file will need to be +w to be deletable on some platforms.
But setting the file world writable just before running it feels
like a bad idea, given that the file's name is as predictable
as process IDs, as there's a race condition to break into the
account running perl's tests.
Changes from previous:
----------------------
3.23 2011-02-20
- Merge in changes from core. Thanks BinGOs.
- Made SourceHandler understand that an executable binary file
is probably an executable.
- Added workaround for Getopt::Long 2.25 handling of
multivalue options. Fixes test failure on stock perl 5.6.2.
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
pkgsrc changes:
- adjust build type
Upstream changes:
3.22 2010-08-14
- Allow TAP::Parser to recognize a nested BAIL_OUT directive.
- Add brief HOWTO for creating and running pgTAP tests to
TAP::Parser::SourceHandler::pgTAP.
- Fix trailing plan + embedded YAML + TAP 13 case. Thanks to
Steffen Schwigon. #54518.
- Numerous spelling fixes. Thanks to Ville Skytt??.
- Add new option --tapversion for prove to set the default
assumed TAP version. Thanks to Steffen Schwigon.
- Fixed tests to run successfully under Devel::Cover. Thanks to
Phillipe Bruhat.
- Fixed injection of test args to work with general executables
as well as Perl scripts (#59186).
- Allow multiple --ext=.foo arguments to prove, to allow running
different types of tests in the same prove run.
- App::Prove::extension() is now App::Prove::extensions(), and
returns an arrayref of extensions, rather than a single scalar.
The same change has been made to App::Prove::State::extension().
- Preserve old semantics for test scripts with a shebang line
by favouring Perl as the intepreter for any file with a
shebang (#59457).
- Add --trap (summary on Ctrl-C) option to prove (#59427).
- Removed TAP::Parser::SourceHandler::pgTAP. Find it in its own
distribution on CPAN.
- Source options to prove can now be specified so as to be passed to
the source as a hash reference, eg:
prove --source XYZ --xyz-option pset=foo=bar
Ths "pset" option will be passed as a hash reference with the key
"foo" and the value "bar".
Upstream changes:
3.21 2010-01-30
- Add test to ensure we're not depending on a module we no
longer ship.
- Fix up skip counts for Windows case - tests were failing
on Windows.
pkgsrc changes:
- Adjusting license definition
Upstream changes:
3.20 2009-01-22
- Remove references / dependency on TAP::Parser::Source::Perl
3.19 2009-01-20
- Avoid depending on Module::Build. The resulting circular
dependency made it impossible to install Test::Harness and/or
Module::Build in some cases.
3.18 2009-01-19
- Handle the case where the filename of the perl executable
contains space. Thanks to kmx.
- Various documentation fixes.
3.17_04 2009-??-??
- Fix failures due to unknown location of Perl in t/source_handler.t.
- Use EUMM style shebang magic to produce an executable 'psql'
for t/source_handler.t.
3.17_03 2009-11-19
- Fix failures due to over-strict assertions in t/source.t.
3.17_02 2009-11-17
- Merge in Steve's missing changes. Oops.
3.17_01 2009-11-17
- Re-engineered source handling API to allow users to configure how
TAP is sourced by the parser. Introduced a new 'sources' param to
TAP::Harness, and new options to prove, eg:
prove --source XYZ --xyz-option foo=bar
The new TAP::Parser::SourceHandler API makes it much easier to
write plugins. This breaks backwards compatibility for plugins &
extenstions that rely on the following APIs:
TAP::Parser::Source
TAP::Parser::SourceFactory
TAP::Parser::IteratorFactory
TAP::Parser, specifically:
new: 'source' & 'tap' params
source_class
perl_source_class
iterator_factory_class
make_source
make_perl_source
make_iterator
Please see the TAP::Parser docs for more details.
[Steve Purkis & David Wheeler]
- Removed dependency on File::Spec [Schwern]
- Made it possible to pass different args to each test [Lee Johnson]
- Added HARNESS_SUBCLASS option to Test::Harness
- Added TAP::Parser::SourceHandler::File which lets you to stream TAP
from a text file (eg: *.tap).
- Added TAP::Parser::SourceHandler::pgTAP. All the source handlers are
new, but this is the only one to add major new functioality: the
ability to run pgTAP tests (http://pgtap.projects.postgresql.org/).
- updating package for p5 module Test::Harness from 3.16 to 3.17
- setting gnu-gpl-v2 as license
upstream changes:
3.17 2009-05-05
- Changed the 'failures' so that it is overridden by verbosity rather
than the other way around.
- Added the 'comments' option, most useful when used in conjunction
with the 'failures' option.
- Deprecated support for Perls earlier than 5.6.0.
- Allow '-I lib' as well as '-Ilib' in $Test::Harness::Switches
(regression).
- Restore old skip parsing semantics for TAP < v13. Refs #39031.
- Numerous small documentation fixes.
- Remove support for fork-based parallel testing. Multiplexed
parallel testing remains.
- Fix path splicing on platforms where the path separator
is not ':'.
- Fixes/skips for failing Win32 tests.
- Don't break with older CPAN::Reporter versions.
3.15 2009-02-17
- Refactor getter/setter generation into TAP::Object.
- The App::Prove::State::Result::Test now stores the parser object.
- After discussion with Andy, agreed to clean up the test output
somewhat. t/foo.....ok becomes t/foo.t ... ok
- Make Bail out! die instead of exiting. Dies with the same
message as 2.64 for (belated) backwards compatibility.
- Alex Vaniver's patch to refactor TAP::Formatter::Console into
a new class, TAP::Formatter::File and a common base class:
TAP::Formatter::Base.
- Fix a bug where PERL5LIB might be put in the wrong spot in @INC.
#40257
- Steve Purkis implemented a plugin mechanism for App::Prove.
3.14 2008-09-13
- Created a proper (ha!) API for prove state results and tests.
- Added --count and --nocount options to prove to control X/Y display
while running tests.
- Added 'fresh' state option to run test scripts that have been
touched since the test run.
- fixed bug where PERL5OPT was not properly split
- fixed regex in _filtered_inc. Fixes#39248. Thanks Slaven.
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
Pkgsrc changes:
o Canonicalize HOMEPAGE
o Change module build type to Module::Build
Upstream changes (possibly incomplete; could not find 2.62 in list):
3.13 2008-07-27
- fixed various closure related leaks
- made prove honour HARNESS_TIMER
- Applied patches supplied by Alex Vandiver
- add 'rules' switch to prove: allows parallel execution rules
to be specified on the command line.
- allow '**' (any path) wildcard in parallel rules
- fix bug report address
- make tprove_gtk example work again.
3.12 2008-06-22
- applied Steve Purkis' huge refactoring patch which adds
configurable factories for most of the major internal classes.
- applied David Wheeler's patch to allow exec to be a code
reference.
- made tests more robust in the presence of -MFoo in PERL5OPT.
3.11 2008-06-09
- applied Jim Keenan's patch that makes App::Prove::run return a
rather than exit (#33609)
- prove -r now recurses cwd rather than 't' by default (#33007)
- restored --ext switch to prove (#33848)
- added ignore_exit option to TAP::Parser and corresponding
interfaces to TAP::Harness and Test::Harness. Requested for
Parrot.
- Implemented rule based parallel scheduler.
- Moved filename -> display name mapping out of formatter. This
prevents the formatter's strip-extensions logic from stripping
extensions from supplied descriptions.
- Only strip extensions from test names if all tests have the
same extension. Previously we stripped extensions if all names
had /any/ extension making it impossible to distinguish tests
whose name differed only in the extension.
- Removed privacy test that made it impossible to subclass
TAP::Parser.
- Delayed initialisation of grammar making it easier to replace
the TAP::Parser stream after instantiation.
- Make it possible to supply import parameters to a replacement
harness with prove.
- Make it possible to replace either _grammar /or/ _stream
before reading from a TAP::Parser.
3.10 2008-02-26
- fix undefined value warnings with bleadperl.
- added pragma support.
- fault unknown TAP tokens under strict pragma.
3.09 2008-02-10
- support for HARNESS_PERL_SWITCHES containing things like
'-e "system(shift)"'.
- set HARNESS_IS_VERBOSE during verbose testing.
- documentation fixes.
3.08 2008-02-08
- added support for 'out' option to
Test::Harness::execute_tests. See #32476. Thanks RENEEB.
- Fixed YAMLish handling of non-alphanumeric hash keys.
- Added --dry option to prove for 2.64 compatibility.
3.07 2008-01-13
- prove now supports HARNESS_PERL_SWITCHES.
- restored TEST_VERBOSE to prove.
3.06 2008-01-01
- Skip t/unicode.t if PERL_UNICODE set. Fixes#31731.
Thanks Lukas.
- App::Prove::State no longer complains about tests that
are deleted.
- --state=new and --state=old now consider the modification time
of test scripts.
- Made test suite core-compatible.
3.05 2007-12-09
- Skip unicode.t if Encode unavailable
- Support for .proverc files.
- Clarified prove documentation.
3.04 2007-12-02
- Fixed output leakage with really_quiet set.
- Progress reports for tests without plans now show
"143/?" instead of "143/0".
- Made TAP::Harness::runtests support aliases for test names.
- Made it possible to pass command line args to test programs
from prove, TAP::Harness, TAP::Parser.
- Added --state switch to prove.
3.03 2007-11-17
- Fixed some little bugs-waiting-to-happen inside
TAP::Parser::Grammar.
- Added parser_args callback to TAP::Harness.
- Made @INC propagation even more compatible with 2.64 so that
parrot still works *and* #30796 is fixed.
3.02 2007-11-15
- Process I/O now unbuffered, uses sysread, plays better with
select. Fixes#30740.
- Made Test::Harness @INC propagation more compatible with 2.64.
Was breaking Parrot's test suite.
- Added HARNESS_OPTIONS (#30676)
3.01 2007-11-12
- Fix for RHEL incpush.patch related failure.
- Output real time of test completion with --timer
- prove -b adds blib/auto to @INC
- made SKIP plan parsing even more liberal for pre-v13 TAP
3.00 2007-11-06
- Non-dev release. No changes since 2.99_09.
2.99_09 2007-11-05
- Implemented TODO-in-PLAN syntax for TAP version 12 and earlier.
2.99_08 2007-11-04
- Tiny changes. New version pushed to get some smoke coverage.
2.99_07 2007-11-01
- Fix for #21938: Unable to handle circular links
- Fix for #24926: prove -b and -l should use absolute paths
- Fixed prove switches. Big oops. How the hell did we miss that?
- Consolidated quiet, really_quiet, verbose into verbosity.
- Various VMS related fixes to tests
2.99_06 2007-10-30
- Added skip_all method to TAP::Parser.
- Display reason for skipped tests.
- make test now self tests.
2.99_05 2007-10-30
- Fix for occasional rogue -1 exit code on Windows.
- Fix for @INC handling under CPANPLUS.
- Added real time to prove --timer output
- Improved prove error message in case where 't' not found and
no tests named.
2.99_04 2007-10-11
- Fixed bug where 'All tests successful' would not be printed if bonus
tests are seen.
- Fixed bug where 'Result: FAIL' would be printed at the end of a test
run if there were unexpectedly succeeding tests.
- Added -M, -P switches to allow arbitrary modules to be loaded
by prove. We haven't yet defined what they'll do once they
load but it's a start...
- Added testing under simulated non-forking platforms.
2.99_03 2007-10-06
- Refactored all display specific code out of TAP::Harness.
- Relaxed strict parsing of skip plan for pre v13 TAP.
- Elapsed hi-res time is now displayed in integer milliseconds
instead of fractional seconds.
- prove stops running if any command-line switches are invalid.
- prove -v would try to print an undef.
- Added support for multiplexed and forked parallel tests. Use
prove -j 9 to run tests in parallel and prove -j 9 --fork to
fork. These features are experimental and currently
unavailable on Windows.
- Rationalized the management of the environment that we give to
test scripts (PERL5LIB, PERL5OPT, switches).
- Fixed handling of STDIN (we no longer close it) for test
scripts.
- Performance enhancements. Parser is now 30% - 40% faster.
2.99_02 2007-09-07
- Ensure prove (and App::Prove) sort any recursively
discovered tests
- It is now possible to register multiple callback handlers for
a particular event.
- Added before_runtests, after_runtests callbacks to
TAP::Harness.
- Moved logic of prove program into App::Prove.
- Added simple machine readable summary.
- Performance improvement: The processing pipeline within
TAP::Parser is now a closure which speeds up access to the
various attribtes it needs.
- Performance improvement: Test count spinner now updates
exponentially less frequently as the count increases which
saves a lot of I/O on big tests.
- More improvements in test coverage from Leif.
- Fixes to TAP spooling - now captures YAML blocks correctly.
- Fix YAMLish handling of empty arrays, hashes.
- Renamed TAP::Harness::Compatible to Test::Harness,
runtests to prove.
- Fixes to @INC handling. We didn't always pass the correct path
to subprocesses.
- We now observe any switches in HARNESS_PERL_SWITCHES.
- Changes to output formatting for greater compatibility with
Test::Harness 2.64.
- Added unicode test coverage and fixed a couple of
unicode issues.
- Additions to documentation.
- Added support for non-forking Perls. If forking isn't
available we fall back to open and disable stream merging.
- Added support for simulating non-forking Perls to improve our
test coverage.
Even though it's now a part of perl the development of the module continues
and other modules are starting to require a later version of it than
the one bundled with perl.
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").
binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.
addresses PR pkg/28619 from H. Todd Fujinaka.
The problem is that perl58>=5.8.3 includes Test::Harness, so we allow
it to satisfy this dependency. The default perl in pkgsrc is 5.8.4,
so no package will depend on devel/p5-Test-Harness (unless the user
has an old perl installation, or overrides the default). But the way
the bulk build tracks dependencies makes it add dependencies on
devel/p5-Test-Harness anyway...
Work around this for now, by noting that if there is no PERL5 installed,
and the user has not overridden the default, then we do not need
to add anything to the DEPENDS at all (since perl 5.8.4 will be
used from the normal USE_PERL5 mechanism).
p5-Test-Harness.
the old way:
{p5-Test-Harness-[0-9]*,perl{,-thread}>=5.8.3}:../../devel/p5-Test-Harness
is normally ok because if either is installed the dependency is
satisfied. however, in a bulk build, every package which uses this
DEPENDS is automatically failed because p5-Test-Harness is preferred
but it conflicts with perl>=5.8.3 (they both install bin/prove and
prove.1).
this way, perl is preferred and the dependency should be satisfied
correctly in bulk builds.
Added HOMEPAGE.
Changes since 2.28:
2.40 Tue Dec 30 20:38:59 CST 2003
[FIXES]
* Test::Harness::Straps should now properly quote on VMS.
[ENHANCEMENTS]
* prove now takes a -l option to add lib/ to @INC. Now when you're
building a module, you don't have to do a make before you run
the prove. Thanks to David Wheeler for the idea.
[INTERNALS]
* Internal functions corestatus() and canonfailed() prepended with
underscores, to indicate such.
* Gratuitous text-only changes in Test::Harness::Iterator.
* All tests now do their use_ok() in a BEGIN block. Some of the
use_ok() calls were too much of a hassle to put into a BEGIN block,
so I changed them to regular use calls.
2.38 Mon Nov 24 22:36:18 CST 2003
Released. See changes below.
2.37_03 Tue Nov 18 23:51:38 CST 2003
[ENHANCEMENTS]
* prove -V now shows the Perl version being used.
* Now there's a HARNESS_DEBUG flag that shows diagnostics as the
harness runs the tests. This is different from HARNESS_VERBOSE,
which shows test output, but not information about the harness
itself.
* Added _command_line() to the Strap API.
[FIXES]
* Bad interaction with Module::Build: The strap was only checking
$ENV{HARNESS_PERL_SWITCHES} for definedness, but not emptiness.
It now also strips any leading or trailing whitesapce from the
switches.
* Test::Harness and prove only quote those parms that actually need
to be quoted: Have some whitespace and aren't already quoted.
2.36 Fri Nov 14 09:24:44 CST 2003
[FIXES]
* t/prove-includes.t properly ignores PROVE_SWITCHES that you may
already have set.
2.35_02 Thu Nov 13 09:57:36 CST 2003
[ENHANCEMENTS]
* prove's --blib now works just like the blib pragma.
2.35_01 Wed Nov 12 23:08:45 CST 2003
[FIXES]
* Fixed taint-handling and path preservation under MacOS. Thanks to
Schwern for the patch and the tests.
* Preserves case of -t or -T in the shebang line of the test.
[ENHANCEMENTS]
* Added -t to prove analogous to Perl's -t. Removed the --taint
switch.
* prove can take default options from the PROVE_SWITCHES variable.
* Added HARNESS_PERL to allow you to specify the Perl interpreter
to run the tests as.
* prove's --perl switch sets the HARNESS_PERL on the fly for you.
* Quotes the switches and filename in the subprogram. This helps
with filenames with spaces that are subject to shell mangling.
2.34 Sat Nov 8 22:09:15 CST 2003
[FIXES]
* Allowed prove to run on Perl versions < 5.6.0.
[ENHANCEMENTS]
* Command-line switches to prove may now be stacked.
* Added check for proper Pod::Usage version.
* "make clean" does a better job of cleaning up after itself.
2.32 Fri Nov 7 09:41:21 CST 2003
Test::Harness now includes a powerful development tool to help
programmers work with automated tests. The prove utility runs
test files against the harness, like a "make test", but with many
advantages:
* prove is designed as a development tool
Perl users typically run the test harness through a makefile via
"make test". That's fine for module distributions, but it's
suboptimal for a test/code/debug development cycle.
* prove is granular
prove lets your run against only the files you want to check.
Running "prove t/live/ t/master.t" checks every *.t in t/live, plus
t/master.t.
* prove has an easy verbose mode
To get full test program output from "make test", you must set
"HARNESS_VERBOSE" in the environment. prove has a "-v" option.
* prove can run under taint mode
prove's "-T" runs your tests under "perl -T".
* prove can shuffle tests
You can use prove's "--shuffle" option to try to excite problems
that don't show up when tests are run in the same order every time.
* Not everything is a module
More and more users are using Perl's testing tools outside the
context of a module distribution, and may not even use a makefile at
all.
Prove requires Pod::Usage, which is standard after Perl 5.004.
I'm very excited about prove, and hope that developers will begin
adopting it to their coding cycles. I welcome your comments at
andy@petdance.com.
There are also some minor bug fixes in Test::Harness itself, listed
below in the 2.31_* notes.
2.31_05 Thu Nov 6 14:56:22 CST 2003
[FIXES]
- If a MacPerl script had a shebang with -T, the -T wouldn't get
passed as a switch.
- Removed the -T on three *.t files, which didn't need them, and
which were causing problems.
- Conditionally installs bin/prove, depending on whether Pod::Usage
is available, which prove needs.
- Removed old leftover code from Makefile.PL.
2.31_04 Mon Nov 3 23:36:06 CST 2003
Minor tweaks here and there, almost ready to release.
2.31_03 Mon Nov 3 08:50:36 CST 2003
[FEATURES]
- prove is almost feature-complete. Removed the handling of
--exclude for excluding certain tests. It may go back in the
future.
- prove -d is now debug. Dry is prove -D.
2.31_02 Fri Oct 31 23:46:03 CST 2003
[FEATURES]
- Added many more switches to prove: -d for dry run, and -b for
blib.
[FIXES]
- T:H:Straps now recognizes MSWin32 in $^0.
- RT#3811: Could do regex matching on garbage in _is_test().
Fixed by Yves Orton
- RT#3827: Strips backslashes from and normalizes @INC entries
for Win32. Fixed by Yves Orton.
[INTERNALS]
- Added $self->{_is_macos} to the T:H:Strap object.
- t/test-harness.t sorts its test results, rather than relying on
internal key order.
2.31_01
[FEATURES]
- Added "prove" script to run a test or set of tests through the
harness. Thanks to Curtis Poe for the foundation.
[DOCUMENTATION]
- Fixed POD problem in Test::Harness::Assert
2.30 Thu Aug 14 20:04:00 CDT 2003
No functional changes in this version. It's only to make some doc
tweaks, and bump up the version number in T:H:Straps.
[DOCUMENTATION]
- Changed Schwern to Andy as the maintainer.
- Incorporated the TODO file into Harness.pm proper.
- Cleaned up formatting in Test::Harness::Straps.
2.29 Wed Jul 17 14:08:00 CDT 2003
- Released as 2.29.
2.28_91 Sun Jul 13 00:10:00 CDT 2003
[ENHANCEMENTS]
- Added support for HARNESS_OK_SLOW. This will make a significant
speedup for slower connections.
- Folded in some changes from bleadperl that spiff up the
failure reports.
[INTERNALS]
- Added some isa_ok() checks to the tests.
- All Test::Harness* modules are used by use_ok()
- Fixed the prototype for the canonfailed() function, not that
it matters since it's never called without parens.
2.28_90 Sat Jul 05 20:21:00 CDT 2003
[ENHANCEMENTS]
- Now, when you run a test harnessed, the numbers don't fly by one
at a time, one update per second. This significantly speeds
up the run time for running thousands of tests. *COUGH*
Regexp::Common *COUGH*
Changes :
- Fixed circular depency in the test suite. Thanks, Rob Brown.
- Added test for $Test::Harness::Switches patch below.
- Fixed straps not respecting $Test::Harness::Switches. Thanks
to Miyagawa for the patch.
- Added t/pod.t to test POD validity.
- Handed over to Andy Lester for further maintenance.
- Stas Bekman noticed that tests with no output at all were
interpreted as passing
- Abigail and Nick Clark both hit the 100000 "huge test that will
suck up all your memory" limit with legit tests. Made the check
smarter to allow large, planned tests to work.
- Partial fix of stats display when a test fails only because there's
too many tests.
- Made wait.ph and WCOREDUMP anti-vommit protection more robust in
cases where wait.ph loads but WCOREDUMP() pukes when run.
- Added a LICENSE.
- Ilya noticed the per test skip reason was accumlating between tests.
Changes :
2.26 Wed Jun 19 16:58:02 EDT 2002
- Workaround for MacPerl's lack of a working putenv. It will never
see the PERL5LIB environment variable (perl@16942).
2.25 Sun Jun 16 03:00:33 EDT 2002
- $Strap is now a global to allow Test::Harness::Straps
experimentation.
- Little spelling nit in a diagnostic.
- Chris Richmond noted that the runtests() docs were wrong. It will
die, not return false, when any tests fail. This is silly, but
historically necessary for 'make test'. Docs corrected.
- MacPerl test fixes from Pudge. (mutation of bleadperl@16989)
- Undef warning introduced in 2.24 on skipped tests with no reasons
fixed.
* Test::Harness now depends on File::Spec
Changes since p5-Test-Harness-2.21 :
2.24 Wed May 29 19:02:18 EDT 2002
* Nikola Knezevic found a bug when tests are completely skipped
but no reason is given it was considered a failure.
* Made Test::Harness::Straps->analyze_file & Test::Harness a bit
more graceful when the test doesn't exist.
2.23 Wed May 22 12:59:47 EDT 2002
- reason for all skip wasn't being displayed. Broken in 2.20.
- Changed the wait status tests to conform with POSIX standards.
- Quieted some SYSTEM$ABORT noise leaking out from dying test tests
on VMS.
2.22 Fri May 17 19:01:35 EDT 2002
- Fixed parsing of #!/usr/bin/perl-current to not see a -t.
(RT #574)
- Fixed exit codes on MPE/iX
Changes from changelog :
2.21 Mon May 6 00:43:22 EDT 2002
- removed a bunch of dead code left over after 2.20's gutting.
- The fix for the $^X "bug" added in 2.02 has been removed. It
caused more trouble than the old bug (I'd never seen a problem
before anyway)
- 2.20 broke $verbose
2.20 Sat May 4 22:31:20 EDT 2002
* An almost complete conversion of the Test::Harness test parsing
to use Test::Harness::Straps.
2.04 Tue Apr 30 00:54:49 EDT 2002
* Changing the output format of skips
- Taking into account VMS's special exit codes in the tests.
Changes :
* $^X fix made safer.
- Noise from loading wait.ph to analyze core files supressed
- MJD found a situation where a test could run Test::Harness
out of memory. Protecting against that specific case.
- Made the 1..M docs a bit clearer.
- Fixed TODO tests so Test::Harness does not display a NOK for
them.
- Test::Harness::Straps->analyze_file() docs were not clear as to
its effects
* Ken Williams fixed the long standing $^X bug.
* Added HARNESS_VERBOSE
* Fixed a bug where Test::Harness::Straps was considering a test that
is ok but died as passing.
- Added the exit and wait codes of the test to the
analyze_file() results.
- Added Test::Harness::Straps
- Partial gutting of the internals
- analyze_file() is more portable
- Test #1 is now element 0 on the details array
- Little bug in the skip 'various reasons' logic fixed
- Wasn't filtering @INC properly when a test is run with -T
- analyze() now considers "not \nok" to be a failure but
Test::Harness still doesn't
- Made sure filehandles are getting closed
- Fixed a warning on VMS
- Removed a little unnecessary code from analyze_file()
- some POD changes.
Fixes PR/15042 by Shell Hung.