Projects
Eulaceura:Factory
perl-Test2-Plugin-NoWarnings
_service:obs_scm:perl-Test2-Plugin-NoWarnings.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-Test2-Plugin-NoWarnings.spec of Package perl-Test2-Plugin-NoWarnings
Name: perl-Test2-Plugin-NoWarnings Version: 0.10 Release: 1 Summary: Fail if tests warn License: Artistic 2.0 URL: https://metacpan.org/release/Test2-Plugin-NoWarnings Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Test2-Plugin-NoWarnings-%{version}.tar.gz BuildArch: noarch # Build BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl-Module-Pluggable BuildRequires: perl(ExtUtils::MakeMaker) > 6.75 # Module Runtime BuildRequires: perl(Carp) BuildRequires: perl(parent) BuildRequires: perl(strict) BuildRequires: perl(Test2) >= 1.302167 BuildRequires: perl(Test2::API) BuildRequires: perl(Test2::Event) BuildRequires: perl(Test2::Util::HashBase) BuildRequires: perl(warnings) # Test Suite BuildRequires: perl(File::Spec) BuildRequires: perl(IPC::Run3) BuildRequires: perl(Test2::Require::Module) BuildRequires: perl(Test2::V0) BuildRequires: perl(Test::More) >= 0.96 # Optional Tests BuildRequires: perl(CPAN::Meta) >= 2.120900 BuildRequires: perl(CPAN::Meta::Prereqs) # Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Loading this plugin causes your tests to fail if there are any warnings while they run. Each warning generates a new failing test and the warning content is outputted via diag. This module uses $SIG{__WARN__}, so if the code you're testing sets this, then this module will stop working. %prep %setup -q -n Test2-Plugin-NoWarnings-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 %{make_build} %install %{make_install} %{_fixperms} -c %{buildroot} %check make test %files %license LICENSE %doc Changes CODE_OF_CONDUCT.md README.md %{perl_vendorlib}/Test2/ %{_mandir}/man3/Test2::Event::Warning.3* %{_mandir}/man3/Test2::Plugin::NoWarnings.3* %changelog * Mon Jul 15 2024 gss <guoshengsheng@kylinos.cn> - 0.10-1 - update to version 0.10 - Optimize compilation log (Unexpected warning) output * Thu Jun 30 2022 misaka00251 <misaka00251@misakanet.cn> - 0.09-1 - Init package (Thanks to fedora team)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2