Commit Graph

12 Commits

Author SHA256 Message Date
Stephan Kulow
6377a5ac3f don't use rpm macros
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Harness?expand=0&rev=13
2011-11-17 14:07:30 +00:00
Lars Vogdt
3cb72c2c34 - update to 3.23:
+ 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
  + Removed TAP::Parser::SourceHandler::pgTAP. Find it in its own
    distribution on CPAN
  + Add --trap (summary on Ctrl-C) option to prove (#59427)
  + Preserve old semantics for test scripts with a shebang line
    by favouring Perl as the intepreter for any file with a
    shebang (#59457)
  + 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().

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Harness?expand=0&rev=11
2011-02-22 17:28:22 +00:00
Stephan Kulow
31823fc4bb always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Harness?expand=0&rev=10
2010-12-03 14:52:07 +00:00
Stephan Kulow
62614ef425 - add perl(ExtUtils::Manifest) as buildrequire
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Harness?expand=0&rev=9
2010-11-30 14:03:43 +00:00
Stephan Kulow
45c544b60b - switch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Harness?expand=0&rev=8
2010-11-30 13:37:35 +00:00
Lars Vogdt
b57fb6c9c8 - update to 3.20:
+ Remove references / dependency on TAP::Parser::Source::Perl
  + Avoid depending on Module::Build. The resulting circular
    dependency made it impossible to install Test::Harness and/or
    Module::Build in some cases.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Harness?expand=0&rev=7
2010-01-25 08:16:13 +00:00
Lars Vogdt
c0f5c3ae13 - update to 3.18:
- Handle the case where the filename of the perl executable
    contains space. Thanks to kmx.
  - Various documentation fixes.
  - 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.
  - Fix failures due to over-strict assertions in t/source.t.
  - Merge in Steve's missing changes. Oops.
  - 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.
    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/).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Harness?expand=0&rev=6
2010-01-20 08:32:23 +00:00
Christian Wittmer
52900d1f2d clean up spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Harness?expand=0&rev=5
2009-07-25 17:44:35 +00:00
Christian Wittmer
81eaa4c372 fix conflict with perl
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Harness?expand=0&rev=4
2009-06-27 20:14:15 +00:00
Christian Wittmer
fd4deeb4ae fix perl conflict, exclude /usr/bin/prove
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Harness?expand=0&rev=3
2009-06-27 15:37:42 +00:00
Christian Wittmer
f750587bc7 update to 3.17
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Harness?expand=0&rev=2
2009-06-27 15:13:41 +00:00
Lars Vogdt
2c56c24df8 initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Harness?expand=0&rev=1
2008-08-15 19:50:08 +00:00