Subject: | Recent versions of GatherDir fail tests on Windows |
The reason is because Windows is giving back slashes, but the tests are
expecting forward slashes.
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0,
'blib\lib', 'blib\arch')" t/*.t t/plugins/*.t
t/compile.t ................. ok
t/plugins/autoprereq.t ...... ok
t/plugins/autoversion.t ..... ok
t/plugins/confirmrelease.t .. ok
t/plugins/distmeta.t ........ ok
t/plugins/extratests.t ...... ok
t/plugins/fakerelease.t ..... ok
t/plugins/filter-b.t ........ ok
t/plugins/gatherdir.t .......
t/plugins/gatherdir.t ....... 1/? # Failed test 'GatherDir gathers all
files i
n the source dir'
# at t/plugins/gatherdir.t line 37.
# Structures begin differing at:
# $got->[1] = 'bonus\subdir\index.html'
# $expected->[1] = 'bonus/subdir/index.html'
# Looks like you failed 1 test of 3.
t/plugins/gatherdir.t ....... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
t/plugins/installdirs.t ..... ok
t/plugins/license.t ......... ok
t/plugins/makemaker.t ....... ok
t/plugins/misctests.t ....... ok
t/plugins/modulebuild.t ..... ok
t/plugins/nextrelease.t ..... ok
t/plugins/pkgversion.t ...... ok
t/plugins/podversion.t ...... ok
t/plugins/prunes.t ..........
t/plugins/prunes.t .......... 1/? # Failed test 'ManifestSkip prunes
files fro
m MANIFEST.SKIP'
# at t/plugins/prunes.t line 36.
# Structures begin differing at:
# $got->[1] = 'bonus\subdir\index.html'
# $expected->[1] = 'bonus/subdir/index.html'
# Failed test 'ManifestSkip prunes files from MANIFEST.SKIP'
# at t/plugins/prunes.t line 36.
# Structures begin differing at:
# $got->[0] = 'bonus\subdir\index.html'
# $expected->[0] = 'bonus/subdir/index.html'
t/plugins/prunes.t .......... 4/? # Looks like you failed 2 tests of 6.
t/plugins/prunes.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/6 subtests
t/plugins/readme.t .......... ok
t/release-pod-syntax.t ...... skipped: these tests are for release
candidate tes
ting
t/tester-demo.t ............. ok
Test Summary Report
-------------------
t/plugins/gatherdir.t (Wstat: 256 Tests: 3 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/plugins/prunes.t (Wstat: 512 Tests: 6 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
Files=21, Tests=187, 21 wallclock secs ( 0.25 usr + 0.02 sys = 0.27 CPU)
Result: FAIL
Failed 2/21 test programs. 3/187 subtests failed.
dmake.EXE: Error code 255, while making 'test_dynamic'
RJBS/Dist-Zilla-2.101040.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- NOT OK