- updated to 0.008

- compile test updated, to hopefully fix mswin32 parsing issues
          - fix subtest tests to work on Test::More before 0.95_01
            (RT#86802)
          - remove use of Class::Method::Modifiers
          - new feature: warnings { code } and warning { code }, for capturing
            the contents of warnings for subsequent testing

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Warnings?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2013-07-27 12:03:33 +00:00 committed by Git OBS Bridge
parent 65c9996ea8
commit 1e58a5b983
4 changed files with 30 additions and 13 deletions

View File

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

View File

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

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Jul 27 11:58:35 UTC 2013 - coolo@suse.com
- updated to 0.008
- compile test updated, to hopefully fix mswin32 parsing issues
- fix subtest tests to work on Test::More before 0.95_01
(RT#86802)
- remove use of Class::Method::Modifiers
- new feature: warnings { code } and warning { code }, for capturing
the contents of warnings for subsequent testing
-------------------------------------------------------------------
Tue Jun 4 11:10:31 UTC 2013 - coolo@suse.com

View File

@ -17,7 +17,7 @@
Name: perl-Test-Warnings
Version: 0.004
Version: 0.008
Release: 0
%define cpan_name Test-Warnings
Summary: Test for warnings and the lack of them
@ -29,18 +29,22 @@ BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Class::Method::Modifiers)
BuildRequires: perl(Test::CheckDeps) >= 0.002
BuildRequires: perl(Capture::Tiny)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Build::Tiny) >= 0.025
BuildRequires: perl(Test::CheckDeps) >= 0.006
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(Test::Tester) >= 0.108
BuildRequires: perl(parent)
#BuildRequires: perl(Pod::Coverage::TrustPod)
#BuildRequires: perl(TB2::Tester)
#BuildRequires: perl(TB2::TestState)
#BuildRequires: perl(Test::CleanNamespaces)
#BuildRequires: perl(Test::NoWarnings) >= 1.04
#BuildRequires: perl(Test::Pod::Coverage)
#BuildRequires: perl(Test::Pod::Coverage) >= 1.08
#BuildRequires: perl(Test::Vars)
#BuildRequires: perl(Test::Warnings)
Requires: perl(Class::Method::Modifiers)
Requires: perl(parent)
%{perl_requires}
@ -67,19 +71,21 @@ 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.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%{__perl} Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%check
%{__make} test
./Build test
%install
%perl_make_install
%perl_process_packlist
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
%files -f %{name}.files