SPECS: perl-Test-NoWarnings.spec - pl, generic URL

qboosh qboosh at pld-linux.org
Sat Nov 19 15:29:19 CET 2005


Author: qboosh                       Date: Sat Nov 19 14:29:19 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, generic URL

---- Files affected:
SPECS:
   perl-Test-NoWarnings.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/perl-Test-NoWarnings.spec
diff -u SPECS/perl-Test-NoWarnings.spec:1.1 SPECS/perl-Test-NoWarnings.spec:1.2
--- SPECS/perl-Test-NoWarnings.spec:1.1	Fri Nov 18 20:36:37 2005
+++ SPECS/perl-Test-NoWarnings.spec	Sat Nov 19 15:29:13 2005
@@ -7,7 +7,7 @@
 %define	pdir	Test
 %define	pnam	NoWarnings
 Summary:	Test::NoWarnings - Make sure you didn't emit any warnings while testing
-#Summary(pl):	
+Summary(pl):	Test::NoWarnings - sprawdzanie braku ostrzeżeń podczas testów
 Name:		perl-Test-NoWarnings
 Version:	0.082
 Release:	1
@@ -15,6 +15,7 @@
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	702143eab77ffc335a08beccac47dca4
+URL:		http://search.cpan.org/dist/Test-NoWarnings/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
@@ -24,19 +25,29 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-In general, your tests shouldn't produce warnings. This modules causes any
-warnings to be captured and stored. It automatically adds an extra test that
-will run when your script ends to check that there were no warnings. If
-there were any warings, the test will give a "not ok" and diagnostics of
-where, when and what the warning was, including a stack trace of what was
-going on when the it occurred.
-
-If some of your tests are supposed to produce warnings then you should be
-capturing and checking them with Test::Warn, that way Test::NoWarnings
-will not see them and so not complain.
-
-# %description -l pl
-# TODO
+In general, your tests shouldn't produce warnings. This modules causes
+any warnings to be captured and stored. It automatically adds an extra
+test that will run when your script ends to check that there were no
+warnings. If there were any warings, the test will give a "not ok" and
+diagnostics of where, when and what the warning was, including a stack
+trace of what was going on when the it occurred.
+
+If some of your tests are supposed to produce warnings then you should
+be capturing and checking them with Test::Warn, that way
+Test::NoWarnings will not see them and so not complain.
+
+%description -l pl
+W ogólności testy nie powinny generować ostrzeżeń. Ten moduł powoduje,
+że wszystkie ostrzeżenia są przechwytywane i zapisywane. Automatycznie
+dodaje dodatkowy test uruchamiany po zakończeniu skryptu, sprawdzający
+czy nie było ostrzeżeń. Jeśli wystąpiły jakiekolwiek ostrzeżenia, test
+wypisze "not ok" i dane diagnostyczne, w którym miejscu, kiedy i jakie
+było ostrzeżenie, wraz ze śladem stosu tego, co działo się w chwili
+jego wystąpienia.
+
+Jeśli jakieś testy mają wygenerować ostrzeżenia, należy je wyłapać i
+sprawdzić przy użyciu Test::Warn - tak, żeby Test::NoWarnings ich nie
+zobaczył.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -70,6 +81,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/11/19 14:29:13  qboosh
+- pl, generic URL
+
 Revision 1.1  2005/11/18 19:36:37  migo
 - initial revision
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-Test-NoWarnings.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list