Commit Graph

31 Commits

Author SHA1 Message Date
Jitka Plesnikova
327dd7a29e Perl 5.26 rebuild 2017-06-05 05:10:06 +02:00
Fedora Release Engineering
23afbd5cbc - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 05:39:23 +00:00
Petr Písař
b1615f51bf Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 09:58:31 +02:00
Jitka Plesnikova
e98d7d5147 Perl 5.24 rebuild 2016-05-15 19:51:34 +02:00
Fedora Release Engineering
2b07725994 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 16:13:31 +00:00
Paul Howarth
3a48db4139 Update to 0.026
- New upstream release 0.026
  - Fixed use of modules loaded by t/zzz-check-breaks.t
  - Fix stderr suppression on perl 5.6
2016-01-27 09:02:27 +00:00
Paul Howarth
2af0b04449 Update to 0.025
- New upstream release 0.025
  - Prereqs lowered from required to suggested:
    - CPAN::Meta::Check
    - CPAN::Meta::Requirements
  - Tests are now quieter to avoid causing confusion, by suppressing the
    printing of stderr in tests
2016-01-25 12:22:40 +00:00
Paul Howarth
cc1794bb26 Update to 0.024
- New upstream release 0.024
  - Remove diagnostics accidentally left in new test
2015-12-27 14:23:04 +00:00
Paul Howarth
5565d2f119 Update to 0.023
- New upstream release 0.023
  - Properly handle propagating warnings to previously declared handlers that
    are not coderefs (i.e. a sub name, or the magic DEFAULT and IGNORE)
2015-12-22 12:10:14 +00:00
Paul Howarth
14ecb2de1c Update to 0.022
- New upstream release 0.022
  - Propagate all warnings to any previously-declared __WARN__ handlers
    (unlike with __DIE__, merely calling warn() is not sufficient)
2015-12-21 16:20:03 +00:00
Dennis Gilmore
9ec6613492 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 12:58:45 +00:00
Jitka Plesnikova
577fec4626 Perl 5.22 rebuild 2015-06-06 06:44:19 +02:00
Paul Howarth
c952dabf5c Update to 0.021
- New upstream release 0.021
  - Add a x_breaks entry for conflicting versions of File::pushd that
    inadvertently call our exported warnings() rather than invoking
    warnings.pm, and documented this undesired interaction
2015-03-23 16:30:53 +00:00
Paul Howarth
0e5f252be6 Update to 0.020
- New upstream release 0.020
  - Re-release to fix problematic $VERSION declaration (CPAN RT#101239)
2015-01-07 12:24:58 +00:00
Paul Howarth
2a0d4f3d51 Update to 0.019
- New upstream release 0.019
  - Fix test to allow for special characters (e.g. MSWin32 file separators) in
    filenames (PR#7)
2014-12-19 12:46:52 +00:00
Paul Howarth
9dd538df91 Update to 0.018
- New upstream release 0.018
  - Fix test to not depend on message formatting changes in newer Carp
2014-12-18 15:37:38 +00:00
Paul Howarth
147d1d47be Update to 0.017
- New upstream release 0.017
  - Handle other warning handlers passing us partial warning messages by
    re-adding the source file and line number
- Use %license
2014-12-17 10:06:59 +00:00
Jitka Plesnikova
0bbbfb7aca Perl 5.20 rebuild 2014-08-27 17:56:27 +02:00
Paul Howarth
aac436fba0 Update to 0.16
- New upstream release 0.16
  - Fix prereq problem with last release - now no longer testing the example
    scripts for user installs
2014-06-22 12:10:01 +01:00
Paul Howarth
316eea4477 Update to 0.15
- New upstream release 0.15
  - Adjusted packaging and tests to become perl-5.6 friendly, including only
    using core or dual-lifed prerequisites
- Switch to ExtUtils::MakeMaker flow
2014-06-20 10:58:40 +01:00
Dennis Gilmore
d9dbe2fe5c - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 06:19:11 -05:00
Paul Howarth
68e7c0ca5d Update to 0.014
- New upstream release 0.014
  - Fix test that fails when FOO or BAR environment variables are set
    (CPAN RT#93447)
2014-03-03 16:42:49 +00:00
Paul Howarth
95673349e9 Update to 0.013
- New upstream release 0.013
  - Update configure_requires checking in Makefile.PL
2013-12-16 12:17:56 +00:00
Paul Howarth
69cb8527ae Update to 0.012
- New upstream release 0.012
  - Re-release to fix t/00-report-prereqs.t use of CPAN::Meta::Requirements
2013-10-14 21:54:14 +01:00
Paul Howarth
2da2a991e2 Update to 0.011
- New upstream release 0.011
  - Unnecessary tests removed
  - CONTRIBUTING file added
- Drop buildreqs only needed for removed tests
- BR: optional test requirement perl(CPAN::Meta::Requirements)
2013-10-13 12:39:52 +01:00
Paul Howarth
3c29020dd1 Update to 0.010
- New upstream release 0.010
  - Re-release with fixed compile test
- Update dependencies
- Package examples
2013-09-25 16:35:37 +01:00
Paul Howarth
49cd1ffe65 Update to 0.009
- New upstream release 0.009
  - Fixed error in synopsis (we do not export anything by default)
  - A caveat added to the documentation regarding embedding warning checks
    inside another sub
  - ':no_end_test' now also covers side effects of done_testing, as well as
    END blocks, making it possible to use the warning(s) subs without having an
    end warning test while using done_testing (necessary when combining with
    the 'if' pragma)
  - END tests will not be added by a subequent use of Test::Warnings if a
    previous one passed ':no_end_test'
- Update dependencies
2013-09-11 14:54:36 +01:00
Dennis Gilmore
b25dc1007b - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 20:30:51 -05:00
Petr Písař
4441ae30d7 Perl 5.18 rebuild 2013-07-24 22:57:15 +02:00
Paul Howarth
cb57569f85 Update to 0.008
- New upstream release 0.008
  - Compile test updated, to hopefully fix mswin32 parsing issues
2013-07-15 15:23:14 +01:00
Paul Howarth
140dd48c37 Initial import (perl-Test-Warnings-0.007-1)
If you've ever tried to use Test::NoWarnings to confirm there are no warnings
generated by your tests, combined with the convenience of done_testing to not
have to declare a test count, you'll have discovered that these two features do
not play well together, as the test count will be calculated before the
warnings test is run, resulting in a TAP error (see examples/test_nowarnings.pl
in this distribution for a demonstration).

This module is intended to be used as a drop-in replacement for
Test::NoWarnings: it also adds an extra test, but runs this test before
done_testing calculates the test count, rather than after. It does this by
hooking into done_testing as well as via an END block. You can declare a plan,
or not, and things will still Just Work.

It is actually equivalent to:

    use Test::NoWarnings 1.04 ':early';

as warnings are still printed normally as they occur. You are safe, and
enthusiastically encouraged, to perform a global search-replace of the above
with use Test::Warnings; whether or not your tests have a plan.
2013-07-11 13:37:29 +01:00