Skip to content

Tests fail with current 5.20-main (MSWin32) #29

@kmx

Description

@kmx

Hi David,

while preparing the next strawberry perl release I have run into the following failure with current 5.20-maint:

Building and testing Capture-Tiny-0.27 ... cp lib/Capture/Tiny.pm blib\lib\Capture\Tiny.pm
"C:\strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
# 
# Versions for all modules listed in MYMETA.json (including optional ones):
# 
# === Configure Requires ===
# 
#     Module              Want Have
#     ------------------- ---- ----
#     ExtUtils::MakeMaker 6.17 7.04
# 
# === Build Requires ===
# 
#     Module              Want Have
#     ------------------- ---- ----
#     ExtUtils::MakeMaker  any 7.04
# 
# === Test Requires ===
# 
#     Module              Want     Have
#     ------------------- ---- --------
#     ExtUtils::MakeMaker  any     7.04
#     File::Spec           any  3.48_01
#     IO::File             any     1.16
#     Test::More          0.62 1.001014
#     lib                  any     0.63
# 
# === Test Recommends ===
# 
#     Module         Want     Have
#     ---------- -------- --------
#     CPAN::Meta 2.120900 2.143240
#     Inline::C      0.50  missing
# 
# === Runtime Requires ===
# 
#     Module         Want    Have
#     -------------- ---- -------
#     Carp            any  1.3301
#     Exporter        any    5.71
#     File::Spec      any 3.48_01
#     File::Temp      any  0.2304
#     IO::Handle      any    1.35
#     Scalar::Util    any    1.41
#     Win32API::File  any  0.1201
#     strict          any    1.08
#     warnings        any    1.23
# 
t/00-report-prereqs.t ...... ok
t/01-Capture-Tiny.t ........ ok
t/02-capture.t ............. ok
t/03-tee.t ................. ok
t/06-stdout-closed.t ....... ok
t/07-stderr-closed.t ....... ok
t/08-stdin-closed.t ........ ok
t/09-preserve-exit-code.t .. ok
t/10-stdout-string.t ....... ok
t/11-stderr-string.t ....... ok
t/12-stdin-string.t ........ ok
t/13-stdout-tied.t ......... ok
t/14-stderr-tied.t ......... ok

#   Failed test 'tee_merged|perl|both|multiline - tee STDOUT (STDOUT)'
#   at t/lib/Cases.pm line 240.
#                   'STDERR:First line
# Second line
# '
#     doesn't match '(?^:STDOUT\:First\ line\
# Second\ line\
# )'
# Looks like you failed 1 test of 873.
t/15-stdin-tied.t .......... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/873 subtests 
t/16-catch-errors.t ........ ok
t/17-pass-results.t ........ ok
t/18-custom-capture.t ...... ok
t/19-inline-c.t ............ skipped: Inline::C module required
t/20-stdout-badtie.t ....... ok
t/21-stderr-badtie.t ....... ok
t/22-stdin-badtie.t ........ ok
t/23-all-tied.t ............ ok
t/24-all-badtied.t ......... ok

Test Summary Report
-------------------
t/15-stdin-tied.t        (Wstat: 256 Tests: 873 Failed: 1)
  Failed test:  809
  Non-zero exit status: 1
Files=23, Tests=11996, 217 wallclock secs ( 4.19 usr +  0.45 sys =  4.64 CPU)
Result: FAIL
Failed 1/23 test programs. 1/11996 subtests failed.

Interesting is that couple of days ago it worked fine; so it might be some change in some of the deps or something else outside Capture-Tiny.

kmx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions