I am experiencing failures with ext/Win32/t/Unicode.t when
building blead under Cygwin on Windows.
'make test' produces:
ext/Win32/t/Unicode.........................................
..Can't
locate utf8.pm in INC ( INC contains: ../lib) at ../lib/Test.pm
line
243.
BEGIN failed--compilation aborted.
FAILED at test 7
Testing with 'harness' produces:
../ext/Win32/t/Unicode......................................
.....1..12
# Running under perl version 5.009005 for cygwin
# Current time local: Tue Sep 4 14:56:16 2007
# Current time GMT: Tue Sep 4 18:56:16 2007
# Using Test.pm version 1.25
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
not ok 7
# Test 7 got:
"C:\perl_tmp\31788\perl-current\t\Foo
xx Bar xx Baz"
(../ext/Win32/t/Unicode.t at
line 63)
# Expected:
"c:\perl_tmp\31788\perl-current\t\Foo
xx Bar xx Baz"
# ../ext/Win32/t/Unicode.t line 63 is:
ok(Win32::GetLongPathName(Win32::GetCwd()), $long);
ok 8
ok 9
# Test 10 got: <UNDEF> (../ext/Win32/t/Unicode.t at
line 80)
# Expected:
"c:\perl_tmp\31788\perl-current\t\Foo
xx Bar xx Baz"
# ../ext/Win32/t/Unicode.t line 80 is:
ok(Win32::GetLongPathName($subdir), $long);
# Test 12 got:
"C:\perl_tmp\31788\perl-current\t\Foo
xx Bar xx Baz"
(../ext/Win32/t/Unicode.t at
line 84)
# Expected:
"c:\perl_tmp\31788\perl-current\t\Foo
xx Bar xx Baz"
# ../ext/Win32/t/Unicode.t line 84 is:
ok(Win32::GetLongPathName(Win32::GetCwd()), $long);
not ok 10
ok 11
not ok 12
FAILED tests 7, 10, 12
Failed 3/12 tests, 75.00% okay
However, when I run from the command line, it suceeds:
> perl -Ilib ext/Win32/t/Unicode.t
1..12
# Running under perl version 5.009005 for cygwin
# Current time local: Tue Sep 4 15:39:23 2007
# Current time GMT: Tue Sep 4 19:39:23 2007
# Using Test.pm version 1.25
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
Does this require a change to the test file, or elsewhere
in
Perl?
FYI, my C drive is mounted using: mount -f "C:/"
/c
|