summaryrefslogtreecommitdiff
path: root/cpan/Test-Harness
Commit message (Collapse)AuthorAgeFilesLines
* Update Test-Harness to CPAN version 3.35Chris 'BinGOs' Williams2015-01-1649-108/+160
| | | | | | | | [DELTA] 3.35 2015-01-14 - Fix prove --version to actually print the version (Leon Timmermans, #101216) - Add --version to usage message (Leon Timmermans, #101215)
* Update Test-Harness to CPAN version 3.34Chris 'BinGOs' Williams2014-11-0749-125/+157
| | | | | | | [DELTA] 3.34 2014-11-02 - Enable printing CPU times spent per test (Jarkko Hietaniemi)
* Update Test-Harness to CPAN version 3.33Chris 'BinGOs' Williams2014-08-2148-105/+121
| | | | | | | [DELTA] 3.33 - Various documentation fixes (Leon Timmermans, Justin Cook)
* Update Test-Harness to CPAN version 3.32Chris 'BinGOs' Williams2014-06-1148-97/+97
| | | | | | | [DELTA] 3.32 2014-06-11 - Remove harness_class from argument hash in T::H::E (Leon Timmermans)
* Update Test-Harness to CPAN version 3.31Chris 'BinGOs' Williams2014-06-0750-203/+163
| | | | | | | | | [DELTA] 3.31 2014-06-07 - Implement external rulesfile for TAP::Harness (David Golden) - Add harness_class argument to TAP::Harness::Env (Leon Timmermans) - Make prove respect environmental variables #28 (Leon Timmermans)
* Update Test-Harness to CPAN version 3.30Chris 'BinGOs' Williams2013-11-1369-182/+183
| | | | | | | | | | | | | | | | | | [DELTA] 3.30 2013-11-12 - Fix missing parent prereq in META.{yml,json} and NotBuild.PL (Dagfinn Ilmari Mannsåker, #89650) - Respect PERL5LIB in tainting source handler test (Dagfinn Ilmari Mannsåker, Leon Timmermans) - Use base instead of parent: This dist is used for testing all other modules, so it should avoid having any non-core prerequisites. Having parent as a prereq leads to a circular dependency of parent -> Test::More -> Test::Harness. (Graham Knop) - Various POD fixes (Nathan Gary Glenn) - Don't localize all of %ENV in harness.t (Craig Berry) - Give TAP::Harness::Beyond a unique NAME (Leon Timmermans)
* Remove all IGNORABLE files under cpan/Steve Hay2013-10-184-1505/+0
| | | | | | | | | | | | | | | | This was discussed on p5p: http://www.nntp.perl.org/group/perl.perl5.porters/2013/10/msg208635.html One LICENSE file (Locale-Codes) has been removed (contrary to one suggestion in that thread) since it was the only one, and only says "This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself." anyway. Two files that I had previously suggested retaining for the sake of tests have also been removed. In one case, a test script has been modified (in Digest-MD5; I will send a ticket upstream); in the other case (in Test-Harness) I have removed the test which depended on the MANIFEST files, as suggested in the above thread.
* Upgrade Test::Harness from version 3.28 to 3.29Steve Hay2013-10-11123-550/+547
| | | | This includes the blead CUSTOMIZATION of t/source.t.
* Update Test-Harness to CPAN version 3.27Nicholas Clark2013-05-2055-152/+440
| | | | | | | | | | | | | | | | [DELTA] 3.28 2013-05-02 - Bugfix: Fix taint failures on Windows (Jan Dubois) 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) The local modifications to t/source.t are retained. [rt.cpan.org #64353]
* VMS nits in cpan/Test-Harness/t/source.tCraig A. Berry2013-01-231-4/+2
| | | | | | | | | | | | | | | [Reapplying ada6eeb82df as it's still awaiting application upstream two years later and the things it fixes get broken again every time a new version of Test::Harness is brought into blead.] 1.) Can't get the basename of a directory in native format. 2.) Symlinks still a bit dodgy -- skip tests for now. Submitted upstream at: https://rt.cpan.org/Ticket/Display.html?id=64353
* Actually update Test-Harness to CPAN version 3.26Chris 'BinGOs' Williams2013-01-2049-98/+100
| | | | | | [DELTA] Finishes off what was started with 83044e8d6
* Update Test-Harness to CPAN version 3.26Chris 'BinGOs' Williams2013-01-163-7/+8
| | | | | | | | [DELTA] 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
* Fix ill-named Test::Harness test and bump version.Craig A. Berry2012-07-0249-96/+96
| | | | | | | | | | | | | | | env.opts.t by its very existence causes the test suite to die on VMS with: $ perl TEST ../cpan/Test-Harness/t/compat/env.opts.t Can't read ../cpan/test-harness/t/compat/env.opts.t. %RMS-F-SYN, file specification syntax error Enabling the extended filename character set will fix this but that's not (yet) the default setting. So here we simply rename the file to something legal. Reported upstream as [rt.cpan.org #78127].
* Updated Test-Harness to CPAN version 3.25Chris 'BinGOs' Williams2012-06-1558-192/+393
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [DELTA] 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.
* In testargs.t in Test::Harness, don't run a world-writable file.Nicholas Clark2011-04-131-1/+1
| | | | | | | | | 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.
* Restore ada6eeb82df60fbe63c781f1a102393fd56d104b.Craig A. Berry2011-03-161-4/+2
| | | | | | | which was clobbered by 149d510d6e1a1cffb86aac23789fcb26ff67ffa9, and is still awaiting upstream integration at: https://rt.cpan.org/Ticket/Display.html?id=64353
* Update Test-Harness to CPAN version 3.23Chris 'BinGOs' Williams2011-02-2152-357/+141
| | | | | | | | | | | [DELTA] 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.
* VMS nits in cpan/Test-Harness/t/source.tCraig A. Berry2010-12-301-4/+2
| | | | | | | | | | 1.) Can't get the basename of a directory in native format. 2.) Symlinks still a bit dodgy -- skip tests for now. Submitted upstream at: https://rt.cpan.org/Ticket/Display.html?id=64353
* Update Test-Harness to CPAN version 3.22Chris 'BinGOs' Williams2010-08-1686-830/+1018
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [DELTA] 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<C3><A4>. - 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".
* Global executable bit cleanupDavid Golden2010-07-248-0/+0
| | | | | | | | | | | | | | | | | | | | When porting/makerel runs, all files copied into the directory for the tarball have the executable bit stripped and then only a specific set of files have the executable bit restored. There are many files in the repo that have the executable bit set in the repo that will be stripped. So that the state of files in the repo is as close as possible to the state of files in the release tarball, the executable bit has been stripped from such files. In one recent case, a file added from a dual-life module needed the executable bit set. Because it had the bit in the repo but was not listed in makerel to get an executable bit, tests using it passed in the repo and failed in the tarball. This commit refactors the list into a new file, Porting/exec-bit.txt and add tests to detect a mismatch between files listed there and actual executable bits in the repo.
* Make Test::Harness source_handler.t use the build perl (%PERL_CORE%) on Win32.George Greer2010-07-041-2/+4
|
* Make the change to source_handler.t conditional on $ENV{PERL_CORE}.Nicholas Clark2010-06-301-1/+1
| | | | 175dcccfb62b30fa wrongly added '-I../../lib' unconditionally.
* Fix 3 remaining Test::Harness tests to work in core.Nicholas Clark2010-06-295-4/+9
|
* Fixed up Test-Harness tests to work under core. There are still three ↵Chris 'BinGOs' Williams2010-06-2934-290/+607
| | | | outstanding will ask AndyA to investigate
* Update Test-Harness to CPAN version 3.21Chris 'BinGOs' Williams2010-06-29112-1451/+5039
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mark UPSTREAM as 'cpan' in Maintainers.pl [DELTA] 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. 3.20 2010-01-22 - Remove references / dependency on TAP::Parser::Source::Perl 3.19 2010-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 2010-01-19 - Handle the case where the filename of the perl executable contains space. Thanks to kmx. - Various documentation fixes. 3.17_04 2010-01-04 - 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/).
* Move Test::Harness from ext/ to cpan/Nicholas Clark2009-10-02180-0/+27371