Subject: | Problem with Win32 tests |
Date: | Thu, 19 Jul 2007 12:01:30 +0300 |
To: | bug-Glib [...] rt.cpan.org |
From: | Serguei Trouchelle <stro [...] railways.dp.ua> |
There are some failing tests and hanging timeout test when compiling
under MSWin32 (Windows 2003, Visual Studio 2003, Activestate Perl 5.8.8
build 820, Glib version 2.12.12)
Test 9.t hangs after $loop->run; on line 107 -- at least it runs more
then 3 hours, so I suggest it just hangs.
When commenting line 107 out, there's one error,
"not ok 16 - 1 sec alarm handler fires before 2 sec timeout"
Test 16 runs because line 115 talks about 'Win32', while it should be
'MSWin32'.
When changed to 'MSWin32', there's "not ok 22", probably because of
commenting $loop->run earlier.
Output from "nmake test" without t/9.t is attached.
Unicode string from t/filename.t line 31 is something like "Invalid node
name" in Ukrainian (taken from locale, I believe).
--
Serguei Trouchelle
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
C:\bin\dev\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/1........................ok 1/23
t/1........................NOK 15/23# Failed test 'before any calls to anything'
# at t/1.t line 47.
# got: 'perl.exe'
# expected: undef
# Looks like you failed 1 test of 23.
t/1........................dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 15
Failed 1/23 tests, 95.65% okay
t/2........................ok
t/3........................ok
t/4........................ok
t/5........................ok
t/6........................ok
t/64bit....................NOK 2/12
# Failed test at t/64bit.t line 25.
# got: '1'
# expected: '-9223372036854775807'
# Failed test at t/64bit.t line 26.
# got: '-1'
# expected: '9223372036854775807'
t/64bit....................NOK 7/12# Failed test at t/64bit.t line 35.
# got: '4294967295'
# expected: '18446744073709551615'
t/64bit....................NOK 9/12
# Failed test at t/64bit.t line 46.
# got: '1'
# expected: '-9223372036854775807'
t/64bit....................NOK 10/12
# Failed test at t/64bit.t line 48.
# got: '-1'
# expected: '9223372036854775807'
t/64bit....................NOK 12/12# Failed test at t/64bit.t line 53.
# got: '4294967295'
# expected: '18446744073709551615'
# Looks like you failed 6 tests of 12.
t/64bit....................dubious
Test returned status 6 (wstat 1536, 0x600)
DIED. FAILED tests 2-3, 7, 9-10, 12
Failed 6/12 tests, 50.00% okay
t/7........................# Looks like you failed 6 tests of 12. 02:01
t/64bit....................dubious
Test returned status 6 (wstat 1536, 0x600)
DIED. FAILED tests 2-3, 7, 9-10, 12
Failed 6/12 tests, 50.00% okay
t/7........................ok
t/8........................ok
t/a........................ok
t/b........................ok
t/c........................ok
t/d........................ok
t/e........................ok
t/f........................ok
t/filename.................NOK 7/21
# Failed test at t/filename.t line 29.
# got: 'file:///C:/prj/CPAN/builds/Glib-1.144/test'
# expected: 'file://localhostC:/prj/CPAN/builds/Glib-1.144/test'
t/filename.................NOK 8/21
# Failed test at t/filename.t line 30.
# got: 'file:///C:/prj/CPAN/builds/Glib-1.144/test'
# expected: 'file://localhostC:/prj/CPAN/builds/Glib-1.144/test'
t/filename.................NOK 9/21
# Failed test at t/filename.t line 31.
# got: 'file:///C:/prj/CPAN/builds/Glib-1.144/test'
# expected: 'file://localhostC:/prj/CPAN/builds/Glib-1.144/test'
Неправильна назва вузла в URI "file://localhostC:/prj/CPAN/builds/Glib-1.144/test" at t/filename.t line 33
.
# Looks like you planned 21 tests but only ran 9.
# Looks like you failed 3 tests of 9 run.
# Looks like your test died just after 9.
t/filename.................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 7-21
Failed 15/21 tests, 28.57% okay
t/g........................ok
t/h........................ok
t/signal_emission_hooks....ok
t/signal_query.............ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/1.t 1 256 23 1 15
t/64bit.t 6 1536 12 6 2-3 7 9-10 12
t/filename.t 255 65280 21 27 7-21
Failed 3/20 test scripts. 22/692 subtests failed.
Files=20, Tests=692, 17 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)
Failed 3/20 test programs. 22/692 subtests failed.
NMAKE : fatal error U1077: 'C:\bin\dev\perl\bin\perl.exe' : return code '0xff'
Stop.