Commit graph

45 commits

Author SHA1 Message Date
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
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!
2010-08-21 16:32:42 +00:00
sno
b58e4b8afe Updating devel/p5-Test-Harness from 3.21 to 3.22
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".
2010-08-17 06:31:01 +00:00
sno
ac73c1703d Updating devel/p5-Test-Harness from 3.20 to 3.21
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.
2010-02-02 18:32:05 +00:00
sno
bcc7899e77 Updating devel/p5-Test-Harness from 3.17 to 3.10
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/).
2010-01-29 16:26:30 +00:00
adrianp
2ae6078ec7 Give up MAINTAINER 2009-07-17 18:00:13 +00:00
sno
9145751026 pkgsrc changes:
- 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.
2009-05-19 23:33:34 +00:00
adrianp
d03f84ed48 3.16 2009-02-19
- 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.
2009-02-28 16:21:47 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
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=...").
2008-10-19 19:17:40 +00:00
he
5266c3dd2d Update from version 2.62 to 3.13, discussed in general terms with maintainer.
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.
2008-09-10 20:30:11 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +00:00
adrianp
d4962aba67 Add back p5-Test-Harness
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.
2006-08-06 15:00:07 +00:00
wiz
69a6b66c3b Remove p5-Test-Harness -- included in current perl package. 2005-07-14 13:26:24 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
jlam
c2fb31ba79 Drop the perl-5.6.x package from pkgsrc. Remove lang/perl58 and update
lang/perl5 to perl-5.8.6nb4.  Modify packages that referred to
lang/perl58 to point to lang/perl5 instead.
2005-06-24 06:43:43 +00:00
jlam
2bd27ce270 PERL5_PKGSRCDIR is no longer defined under the new tools framework.
Modify this bulk-build workaround by not checking for PERL5_PKGSRCDIR,
and instead just relying on the presence or absence of ${PERL5}.
2005-05-19 15:35:41 +00:00
jlam
7a7c23b6bc Fix test for whether PERL5_PKGSRCDIR is defined -- there shouldn't be
${...} around PERL5_PKGSRCDIR.
2005-05-12 06:04:09 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
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.
2004-12-20 11:30:55 +00:00
kristerw
ba47f89e0c Correct the directory we descend into to build the version of perl needed
for this package.
2004-09-24 20:55:33 +00:00
kristerw
3fba5eaf4d Work around brokenness in the bulk build.
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).
2004-07-13 22:01:03 +00:00
grant
a8c438f3b5 swap order of depends so that perl>=5.8.3 is preferred over
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.
2004-06-12 04:01:45 +00:00
grant
b2e0fa4a11 move the p5-Test-Harness DEPENDS to p5-Test-Harness where it belongs,
so any package requiring it can DTRT.
2004-05-08 04:05:58 +00:00
kim
e05dd1c05f Add to conflicts, seems safer. 2004-05-01 16:04:37 +00:00
kim
dd46fd5498 Add a conflict with perl 5.8.3 and later. 2004-05-01 16:02:49 +00:00
jlam
4bfca4a488 This package doesn't use the compiler. 2004-03-31 01:52:04 +00:00
heinz
9075c44c0f Update to 2.40.
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*
2004-01-18 22:09:14 +00:00
jlam
848d6eb2a3 bl3ify 2004-01-05 22:16:24 +00:00
martti
e69ab8c365 COMMENT should start with a capital letter. 2003-07-21 16:35:12 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
shell
b3c5840b9a Updated to p5-Test-Harness-2.28
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.
2003-06-01 08:42:52 +00:00
shell
5fa46148b0 Updated to p5-Test-Harness-2.26
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
2002-10-20 03:12:35 +00:00
seb
25e9e6b0ea Use buildlink2. Use perl5/module.mk. 2002-10-13 22:22:45 +00:00
shell
ff8a867a99 Updated p5-Test-Harness, from 2.21 to 2.24
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
2002-06-03 13:08:56 +00:00
shell
d122dcff72 Updated to p5-Test-Harness-2.21
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.
2002-05-09 06:03:38 +00:00
shell
d7a068a432 Updated to p5-Test-Harness-2.03
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
2002-04-27 08:04:15 +00:00
martti
2d5354db10 Updated p5-Test-Harness to 2.02 (provided by Shell Hung in pkg/15925)
* 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.
2002-03-15 12:28:49 +00:00
wiz
9fdda67b51 regen (pkg/15324) 2002-01-21 22:43:17 +00:00
mjl
2f1cf17778 Update p5-Test-Harness to 2.01.
- 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.
2002-01-18 22:42:27 +00:00
jlam
cc4128d97e Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-26 06:49:36 +00:00
martti
a72e57047a Updated to version 1.26 (PR#14510). Changes since 1.23:
- An excuse to upload a new version to CPAN to get Test::Harness
      back on the index.
    - Fixed a bug with tests failing if they're all skipped
      reported by Stas Bekman.
    - Fixed a very minor warning in 5.004_04
    - Fixed displaying filenames not from @ARGV
    - Merging with bleadperl
    -  minor fixes to the filename in the report
    -  '[no reason given]' skip reason
    - Added internal information about number of todo tests
2001-11-22 09:33:09 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
jlam
ffd2f7e9f1 devel/p5-Test-Harness - run perl standard test scripts with statistics.
Provided in pkg/13845 by Sen Nagata <sen@eccosys.com> with some fixes by
me to install into ${PERL5_SITEARCH} instead of mixing the module with the
standard perl library in ${PERL5_ARCHLIB}.
2001-09-27 04:26:49 +00:00