Update to 1.17

- New upstream release 1.17
  - The Test::Valgrind tests will now be skipped when the default and
    user-supplied suppressions files do not refer to any perl-related symbol;
    this behaviour can be overridden by passing 'allow_no_supp => 1' to
    Test::Valgrind->import
  - Fix CPAN RT#101934: t/20-bad.t failing on armv7hl; while the root cause of
    this issue is probably not at Test::Valgrind's level, it should
    nevertheless not run the tests when the suppression files are obviously
    insufficient
  - The accuracy of the default perl suppression file has been improved
  - The tests will be more reliably skipped when no valgrind or no suppressions
    are found
  - Segmentation faults during the analysis are now more gracefully handled
  - 'no_def_supp => 1' will no longer cause the extra suppressions to be
    ignored
  - t/20-bad.t will no longer run the extra tests when no valgrind can be found
    (this was a regression in version 1.15)
- Bump version requirements for File::Temp/Test::Builder usage in test suite
- Drop redundant %{?perl_default_filter}
epel9
Paul Howarth 9 years ago
parent f73a6ca3a1
commit eadd866cad

@ -1,6 +1,6 @@
Name: perl-Test-Valgrind Name: perl-Test-Valgrind
Summary: Generate suppressions, analyze and test any command with valgrind Summary: Generate suppressions, analyze and test any command with valgrind
Version: 1.15 Version: 1.17
Release: 1%{?dist} Release: 1%{?dist}
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
@ -30,6 +30,8 @@ BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp) >= 0.14 BuildRequires: perl(File::Temp) >= 0.14
BuildRequires: perl(Filter::Util::Call) BuildRequires: perl(Filter::Util::Call)
BuildRequires: perl(IO::Select)
BuildRequires: perl(List::Util)
BuildRequires: perl(Perl::Destruct::Level) BuildRequires: perl(Perl::Destruct::Level)
BuildRequires: perl(POSIX) BuildRequires: perl(POSIX)
BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scalar::Util)
@ -43,7 +45,10 @@ BuildRequires: perl(XSLoader)
BuildRequires: valgrind >= 3.1.0 BuildRequires: valgrind >= 3.1.0
# Test Suite # Test Suite
BuildRequires: perl(lib) BuildRequires: perl(lib)
BuildRequires: perl(File::Temp) >= 0.19
BuildRequires: perl(Test::Builder) >= 0.88
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(Time::HiRes)
BuildRequires: perl(XSLoader) BuildRequires: perl(XSLoader)
# Runtime # Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@ -61,9 +66,6 @@ Requires: perl(XML::Twig::Elt)
Requires: perl(XSLoader) Requires: perl(XSLoader)
Requires: valgrind >= 3.1.0 Requires: valgrind >= 3.1.0
# Don't "provide" private Perl libs
%{?perl_default_filter}
%description %description
The Test::Valgrind::* API lets you run Perl code through the memcheck tool of The Test::Valgrind::* API lets you run Perl code through the memcheck tool of
the valgrind memory debugger, to test for memory errors and leaks. The the valgrind memory debugger, to test for memory errors and leaks. The
@ -139,8 +141,30 @@ rm -rf %{buildroot}
%{_mandir}/man3/Test::Valgrind::Suppressions.3* %{_mandir}/man3/Test::Valgrind::Suppressions.3*
%{_mandir}/man3/Test::Valgrind::Tool.3* %{_mandir}/man3/Test::Valgrind::Tool.3*
%{_mandir}/man3/Test::Valgrind::Tool::memcheck.3* %{_mandir}/man3/Test::Valgrind::Tool::memcheck.3*
%{_mandir}/man3/Test::Valgrind::Util.3*
%changelog %changelog
* Sun Nov 15 2015 Paul Howarth <paul@city-fan.org> - 1.17-1
- Update to 1.17
- The Test::Valgrind tests will now be skipped when the default and
user-supplied suppressions files do not refer to any perl-related symbol;
this behaviour can be overridden by passing 'allow_no_supp => 1' to
Test::Valgrind->import
- Fix CPAN RT#101934: t/20-bad.t failing on armv7hl; while the root cause of
this issue is probably not at Test::Valgrind's level, it should
nevertheless not run the tests when the suppression files are obviously
insufficient
- The accuracy of the default perl suppression file has been improved
- The tests will be more reliably skipped when no valgrind or no suppressions
are found
- Segmentation faults during the analysis are now more gracefully handled
- 'no_def_supp => 1' will no longer cause the extra suppressions to be
ignored
- t/20-bad.t will no longer run the extra tests when no valgrind can be found
(this was a regression in version 1.15)
- Bump version requirements for File::Temp/Test::Builder usage in test suite
- Drop redundant %%{?perl_default_filter}
* Sat Oct 31 2015 Paul Howarth <paul@city-fan.org> - 1.15-1 * Sat Oct 31 2015 Paul Howarth <paul@city-fan.org> - 1.15-1
- Update to 1.15 - Update to 1.15
- The new 'regen_def_supp' option can be passed to Test::Valgrind->import to - The new 'regen_def_supp' option can be passed to Test::Valgrind->import to

@ -1 +1 @@
2e0298b7587ccb03b68065c3814b9003 Test-Valgrind-1.15.tar.gz 8ec5e531437ee2567df4d308c5cd5abd Test-Valgrind-1.17.tar.gz

Loading…
Cancel
Save