1
0

Accepting request 350859 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/350859
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Warnings?expand=0&rev=14
This commit is contained in:
Dirk Stoecker 2015-12-26 12:35:58 +00:00 committed by Git OBS Bridge
parent 0e23ca6a1b
commit 150fb21154
5 changed files with 68 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d98a182e333d58bd7fc68fdc6d9f548624df07d73bdb124bd1af5087e1cc2c44
size 34390

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:263402bdb1abeb2a677d6d2e86ac1bfdf5c0445b51d05cb7393901e4cab8fdee
size 37279

28
cpanspec.yml Normal file
View File

@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Sat Dec 26 10:18:59 UTC 2015 - coolo@suse.com
- updated to 0.024
see /usr/share/doc/packages/perl-Test-Warnings/Changes
0.024 2015-12-24 18:44:29Z
- remove diagnostics accidentally left in new test
0.023 2015-12-22 06:44:24Z
- properly handle propagating warnings to previously declared
handlers that are not coderefs (i.e. a sub name, or the magic
DEFAULT and IGNORE)
0.022 2015-12-19 00:32:42Z
- propagate all warnings to any previously-declared __WARN__
handlers (unlike with __DIE__, merely calling warn() is not
sufficient)
-------------------------------------------------------------------
Wed Apr 15 14:53:05 UTC 2015 - coolo@suse.com

View File

@ -17,7 +17,7 @@
Name: perl-Test-Warnings
Version: 0.021
Version: 0.024
Release: 0
%define cpan_name Test-Warnings
Summary: Test for warnings and the lack of them
@ -25,11 +25,12 @@ License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-Warnings/
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CPAN::Meta::Check) >= 0.007
BuildRequires: perl(CPAN::Meta::Check) >= 0.011
BuildRequires: perl(CPAN::Meta::Requirements)
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(parent)
@ -37,19 +38,19 @@ Requires: perl(parent)
%{perl_requires}
%description
If you've ever tried to use the Test::NoWarnings manpage to confirm there
are no warnings generated by your tests, combined with the convenience of
'done_testing' to not have to declare a Test::More/I love
it-when-a-plan-comes-together, 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.)
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 the
Test::NoWarnings manpage: 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.
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:
@ -59,8 +60,8 @@ 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.
It can also be used as a replacement for the Test::Warn manpage, if you
wish to test the content of expected warnings; read on to find out how.
It can also be used as a replacement for Test::Warn, if you wish to test
the content of expected warnings; read on to find out how.
%prep
%setup -q -n %{cpan_name}-%{version}
@ -79,6 +80,6 @@ wish to test the content of expected warnings; read on to find out how.
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING examples LICENSE README
%doc Changes CONTRIBUTING examples LICENCE README
%changelog