dagolden / Capture-Tiny

(Perl) Capture STDOUT and STDERR from Perl, XS or external programs
http://search.cpan.org/dist/Capture-Tiny/
39 stars 19 forks source link

Capture-Tiny fails tests on 5.21.5 #23

Closed karenetheridge closed 6 years ago

karenetheridge commented 9 years ago

I'm unable to send a cpantesters report, as App-cpanminus-reporter depends on Capture::Tiny:

--> Working on Capture::Tiny
Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Capture-Tiny-0.25.tar.gz
-> OK
Unpacking Capture-Tiny-0.25.tar.gz
Entering Capture-Tiny-0.25
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.17 ... Yes (6.98)
Configuring Capture-Tiny-0.25
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Capture::Tiny
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0.62 ... Yes (1.001008)
Checking if you have warnings 0 ... Yes (1.28)
Checking if you have strict 0 ... Yes (1.08)
Checking if you have File::Temp 0 ... Yes (0.2304)
Checking if you have IO::Handle 0 ... Yes (1.35)
Checking if you have Exporter 0 ... Yes (5.71)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.98)
Checking if you have Carp 0 ... Yes (1.34)
Checking if you have File::Spec 0 ... Yes (3.51)
Checking if you have Scalar::Util 0 ... Yes (1.41)
Checking if you have IO::File 0 ... Yes (1.16)
Checking if you have lib 0 ... Yes (0.63)
Building and testing Capture-Tiny-0.25
Manifying blib/man3/Capture::Tiny.0
PERL_DL_NONLAZY=1 /Users/ether/perl5/perlbrew/perls/21.5/bin/perl5.21.5 "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-Capture-Tiny.t ........ ok
t/09-preserve-exit-code.t .. ok
# 
# Versions for all modules listed in MYMETA.json (including optional ones):
# 
# === Configure Requires ===
# 
#     Module              Want Have
#     ------------------- ---- ----
#     ExtUtils::MakeMaker 6.17 6.98
# 
# === Build Requires ===
# 
#     Module              Want Have
#     ------------------- ---- ----
#     ExtUtils::MakeMaker  any 6.98
# 
# === Test Requires ===
# 
#     Module              Want     Have
#     ------------------- ---- --------
#     ExtUtils::MakeMaker  any     6.98
#     File::Spec           any     3.51
#     IO::File             any     1.16
#     Test::More          0.62 1.001008
#     lib                  any     0.63
# 
# === Test Recommends ===
# 
#     Module         Want     Have
#     ---------- -------- --------
#     CPAN::Meta 2.120900 2.142690
#     Inline::C      0.50  missing
# 
# === Runtime Requires ===
# 
#     Module       Want   Have
#     ------------ ---- ------
#     Carp          any   1.34
#     Exporter      any   5.71
#     File::Spec    any   3.51
#     File::Temp    any 0.2304
#     IO::Handle    any   1.35
#     Scalar::Util  any   1.41
#     strict        any   1.08
#     warnings      any   1.28
# 
t/00-report-prereqs.t ...... ok
t/02-capture.t ............. ok
t/03-tee.t ................. ok

#   Failed test 'tee_stderr|perl|nooutput|unicode - inner STDOUT'
#   at t/lib/Cases.pm line 22.
#          got: 'Operation not permitted at -e line 4.
# '
#     expected: ''
t/06-stdout-closed.t ....... ok
t/07-stderr-closed.t ....... ok
t/11-stderr-string.t ....... ok
t/16-catch-errors.t ........ ok
t/08-stdin-closed.t ........ ok
t/17-pass-results.t ........ ok
t/18-custom-capture.t ...... ok
# Looks like you failed 1 test of 873.
t/10-stdout-string.t ....... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/873 subtests 
t/13-stdout-tied.t ......... ok
t/19-inline-c.t ............ skipped: Inline module required
t/12-stdin-string.t ........ ok
t/14-stderr-tied.t ......... ok
t/15-stdin-tied.t .......... ok
t/20-stdout-badtie.t ....... ok
t/22-stdin-badtie.t ........ ok
t/21-stderr-badtie.t ....... ok
t/24-all-badtied.t ......... ok
t/23-all-tied.t ............ ok

Test Summary Report
-------------------
t/10-stdout-string.t     (Wstat: 256 Tests: 873 Failed: 1)
  Failed test:  720
  Non-zero exit status: 1
Files=23, Tests=11996, 52 wallclock secs ( 2.47 usr  0.33 sys + 37.79 cusr 39.89 csys = 80.48 CPU)
Result: FAIL
Failed 1/23 test programs. 1/11996 subtests failed.
make: *** [test_dynamic] Error 255
-> FAIL Installing Capture::Tiny failed. See /Users/ether/.cpanm/work/1413828579.23979/build.log for details. Retry with --force to force install it.
karenetheridge commented 9 years ago

Tests passed with HARNESS_OPTIONS=.

karenetheridge commented 9 years ago

I got this again with today's release.

karenetheridge commented 9 years ago

..but this time, it failed across all my perlbrews. :/

karenetheridge commented 6 years ago

Capture::Tiny is now up to 0.46. This can't possibly still be a problem. closing!