Subject: | t/99_pmv.t test failure with new Perl::MinimumVersion 1.22 |
Date: | Sat, 12 Dec 2009 10:00:10 +0100 |
To: | bug-File-Remove [...] rt.cpan.org, 560615 [...] bugs.debian.org |
From: | Salvatore Bonaccorso <salvatore.bonaccorso [...] gmail.com> |
Hi
First of all, I agree that this is a failure of build when activating
author tests. We in Debian Perl Group try to activate any test which is
possible to quarantee best quality. During such a rebuild of package for
File::Remove it fails to build. There was an update in
Perl::MinimumVersion:
1.22 Wed 25 Nov 2009
- Negative length in 'splice' requires perl 5.5 (Alexandr Ciornii)
- 'mkdir' with one argument requires perl 5.6 (Alexandr Ciornii)
- 'substr' will not be checked if it is a method name (Alexandr Ciornii)
- better tests and fix for 3-arg 'open' (Alexandr Ciornii)
1.21 Tue 24 Nov 2009
- Add 'bytes' to 5.6 pragma (Alexandr Ciornii)
- Add support for "version numbers" like "v1.1.1" (Alexandr Ciornii)
- Reimplement _three_argument_open, more tests (Alexandr Ciornii)
Now check for 3-arg open is working.
- Check 4-arg substr that requires perl 5.5 (Alexandr Ciornii)
- Postfix foreach requires perl 5.004.05 (Alexandr Ciornii)
- Scalar::Util::weaken requires perl 5.006 (Alexandr Ciornii)
- P::MV itself found imcompatibility in 02_main.t with 5.5 (Alexandr Ciornii)
Now File::Remove fails with:
Show quoted text
> make[1]: Entering directory `/build/user-libfile-remove-perl_1.42-2-amd64-naaHXS/libfile-remove-perl-1.42'
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
> t/01_compile.t ........ ok
> t/02_directories.t .... ok
> t/03_deep_readonly.t .. ok
> t/04_can_delete.t ..... ok
> t/05_links.t .......... ok
> t/06_curly.t .......... ok
> t/97_meta.t ........... ok
> t/98_pod.t ............ ok
>
> # Failed test 't/06_curly.t'
> # at /usr/share/perl5/Test/MinimumVersion.pm line 150.
> # t/06_curly.t requires 5.006 due to syntax
> # version markers for 5.006:
> # - _mkdir_1_arg
>
> # Failed test 't/03_deep_readonly.t'
> # at /usr/share/perl5/Test/MinimumVersion.pm line 150.
> # t/03_deep_readonly.t requires 5.006 due to syntax
> # version markers for 5.006:
> # - _mkdir_1_arg
>
> # Failed test 't/04_can_delete.t'
> # at /usr/share/perl5/Test/MinimumVersion.pm line 150.
> # t/04_can_delete.t requires 5.006 due to syntax
> # version markers for 5.006:
> # - _mkdir_1_arg
>
> # Failed test 't/02_directories.t'
> # at /usr/share/perl5/Test/MinimumVersion.pm line 150.
> # t/02_directories.t requires 5.006 due to syntax
> # version markers for 5.006:
> # - _mkdir_1_arg
> # Looks like you failed 4 tests of 11.
> Failed 1/9 test programs. 4/206 subtests failed.
> t/99_pmv.t ............
> Dubious, test returned 4 (wstat 1024, 0x400)
> Failed 4/11 subtests
>
> Test Summary Report
> -------------------
> t/99_pmv.t (Wstat: 1024 Tests: 11 Failed: 4)
> Failed tests: 3-4, 9-10
> Non-zero exit status: 4
> Files=9, Tests=206, 2 wallclock secs ( 0.04 usr 0.02 sys + 1.69 cusr 0.07 csys = 1.82 CPU)
> Result: FAIL
> make[1]: *** [test_dynamic] Error 4
The full Bugreport is located at http://bugs.debian.org/560615
The problem is that in the tests there are used syntax not matching the
required version in META.yml.
Many thanks for considering looking into it,
Bests
Salvatore
Message body not shown because it is not plain text.