Subject: | Test fails on Strawberry Perl |
From: | ACHIMRU [...] cpan.org |
Environment: Win7 x64, Strawberry Perl v5.10.1 (*) built for MSWin32-x86-multi-thread
When installing the Module using cpan, a include folder test in arg-parser.t fails:
# Failed test 'include_paths: '-Ilib -MFoo -I../../../../lib +End -IBar -- OH:
:HAI' => [ 'lib', '../../../../lib' ] (is [ 'lib', '..\\..\\..\\..\\lib' ])'
# at C:/strawberry/perl/site/lib/Test/TableDriven.pm line 75.
# Structures begin differing at:
# $got->[1] = '..\..\..\..\lib'
# $expected->[1] = '../../../../lib'
# Looks like you failed 1 test of 71.
This is due to the path separator being different on Windows. The tests complete when I'm changing the path separator in the expected values in arg-parser.t and the module finishes installation.