Thread Mojo - Tests schlagen fehl bei StrawberryPerl (Win7) (14 answers)
Opened by GwenDragon at 2012-05-30 10:19

GwenDragon
 2012-06-12 15:05
#158915 #158915
User since
2005-01-17
14422 articles
Admin1
[Homepage]
user image
Info über installiertes Strawberry Perl 5.14
more (3.9kb):
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
U:\Perl>perl -V
Summary of my perl5 (revision 5 version 14 subversion 2) configuration:

Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
uname='Win32 strawberryperl 5.14.2.1-portable #1 Tue Nov 22 18:24:29 2011 i386'
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags =' -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPER
L_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields',
optimize='-s -O2',
cppflags='-DWIN32'
ccversion='', gccversion='4.4.7', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++.exe', ldflags ='-s -L"X:\opt\perl-5.14\perl\lib\CORE" -L"X:\opt\perl-5.14\c\li
b"'
libpth=X:\opt\perl-5.14\c\lib X:\opt\perl-5.14\c\i686-w64-mingw32\lib
libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32
-lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32
-lcomctl32
perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshe
ll32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbc
cp32 -lcomctl32
libc=, so=dll, useshrplib=true, libperl=libperl514.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -s -L"X:\opt\perl-5.14\perl\lib\CORE" -L"X:\opt\perl-
5.14\c\lib"'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PL_OP_SLAB_ALLOC
USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
USE_SITECUSTOMIZE
Built under MSWin32
Compiled at Nov 22 2011 18:32:55
%ENV:
PERL5LIB="X:\opt\perl-5.14\perl\lib;X:\opt\perl-5.14\perl\site\lib;X:\opt\perl-5.14\pe
rl\vendor\lib"
PERLLIB="X:\opt\perl-5.14\perl\lib;X:\opt\perl-5.14\perl\site\lib;X:\opt\perl-5.14\per
l\vendor\lib"
PERL_JSON_BACKEND="JSON::XS"
PERL_YAML_BACKEND="YAML"
@INC:
X:\opt\perl-5.14\perl\lib
X:\opt\perl-5.14\perl\site\lib
X:\opt\perl-5.14\perl\vendor\lib
X:/opt/perl-5.14/perl/site/lib
X:/opt/perl-5.14/perl/vendor/lib
X:/opt/perl-5.14/perl/lib
.

U:\Perl>



Anbei die gewünschten Testresultate mit 5.14 bei IO::Socket:IP, IO::Socket, IO::Socket::SSL.
more (4.5kb):
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Running make test
X:\opt\perl-5.14\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\l
ib', 'blib\arch')" t/*.t
t/getaddrinfo.t .. ok
t/getnameinfo.t .. ok
t/ip_mreq.t ...... ok
t/ipv6_mreq.t .... ok
t/sockaddr.t ..... ok
t/Socket.t ....... ok
t/socketpair.t ... ok
All tests successful.
Files=7, Tests=131, 2 wallclock secs ( 0.09 usr + 0.03 sys = 0.12 CPU)
Result: PASS
PEVANS/Socket-2.002.tar.gz
X:\opt\perl-5.14\c\bin\dmake.exe test -- OK

Building IO-Socket-IP
PEVANS/IO-Socket-IP-0.11.tar.gz
X:\opt\perl-5.14\perl\bin\perl.exe ./Build -- OK
Running Build test
t\00use.t ........................... ok
t\01local-client-v4.t ............... ok
t\02local-server-v4.t ............... ok
t\03local-cross-v4.t ................ ok
t\04local-client-v6.t ............... skipped: Unable to bind to ::1
t\05local-server-v6.t ............... skipped: Unable to bind to ::1
t\06local-cross-v6.t ................ skipped: Unable to bind to ::1
t\10args.t .......................... ok
t\11sockopts.t ...................... ok
t\12port-fallback.t ................. ok
t\13addrinfo.t ...................... ok
t\14fileno.t ........................ ok
t\15io-socket.t ..................... ok
t\16v6only.t ........................ skipped: Unable to bind to ::1
t\17gai-flags.t ..................... ok
t\20nonblocking-connect.t ........... ok
t\21nonblocking-connect-internet.t .. ok
t\99pod.t ........................... skipped: Test::Pod 1.00 required for testing POD
All tests successful.
Files=18, Tests=113, 19 wallclock secs ( 0.14 usr + 0.06 sys = 0.20 CPU)
Result: PASS
PEVANS/IO-Socket-IP-0.11.tar.gz
X:\opt\perl-5.14\perl\bin\perl.exe ./Build test -- OK
Running Build install
Building IO-Socket-IP
Installing X:\opt\perl-5.14\perl\site\lib\IO\Socket\IP.pm
PEVANS/IO-Socket-IP-0.11.tar.gz
X:\opt\perl-5.14\perl\bin\perl.exe ./Build install --uninst 1 -- OK

Running make test
X:\opt\perl-5.14\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\
ib', 'blib\arch')" t/*.t
t/01loadmodule.t ........... ok
t/02settings.t ............. ok
t/acceptSSL-timeout.t ...... ok
t/auto_verify_hostname.t ... ok
t/cert_no_file.t ........... ok
t/compatibility.t .......... ok
t/connectSSL-timeout.t ..... ok
t/core.t ................... ok
t/dhe.t .................... ok
t/inet6.t .................. skipped: no IO::Socket::INET6 available
t/memleak_bad_handshake.t .. skipped: ps not implemented on this platform
t/nonblock.t ............... skipped: nonblocking does not work on Win32
t/npn.t .................... skipped: (no reason given)
t/readline.t ............... ok
t/sessions.t ............... ok
t/signal-readline.t ........ skipped: signals not relevant on this platform
t/start-stopssl.t .......... ok
t/startssl-failed.t ........ ok
t/startssl.t ............... ok
t/sysread_write.t .......... ok
t/verify_hostname.t ........ ok
All tests successful.

Test Summary Report
-------------------
t/sysread_write.t (Wstat: 0 Tests: 9 Failed: 0)
TODO passed: 9
Files=21, Tests=270, 24 wallclock secs ( 0.14 usr + 0.11 sys = 0.25 CPU)
Result: PASS
SULLR/IO-Socket-SSL-1.74.tar.gz
X:\opt\perl-5.14\c\bin\dmake.exe test -- OK
Running make install
Installing X:\opt\perl-5.14\perl\site\lib\IO\Socket\SSL.pm
Appending installation info to X:\opt\perl-5.14\perl\lib/perllocal.pod
SULLR/IO-Socket-SSL-1.74.tar.gz
X:\opt\perl-5.14\c\bin\dmake.exe install UNINST=1 -- OK


Test von Mojo:
more (7.8kb):
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
Running make test
X:\opt\perl-5.14\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\l
ib', 'blib\arch')" t/*.t t/*/*.t
t/mojo/app.t ............................... ok
t/mojo/asset.t ............................. ok
t/mojo/base.t .............................. ok
t/mojo/bytestream.t ........................ ok
t/mojo/cache.t ............................. ok
t/mojo/cgi.t ............................... ok
t/mojo/collection.t ........................ ok
t/mojo/command.t ........................... ok
t/mojo/content.t ........................... ok
t/mojo/cookie.t ............................ ok
t/mojo/cookiejar.t ......................... ok
t/mojo/date.t .............................. ok
t/mojo/delay.t ............................. ok
t/mojo/dom.t ............................... ok
t/mojo/eventemitter.t ...................... ok
t/mojo/headers.t ........................... ok
t/mojo/home.t .............................. ok
t/mojo/hypnotoad.t ......................... skipped: set TEST_HYPNOTOAD to enable this te
st (developer only!)
t/mojo/ioloop.t ............................ ok
t/mojo/ioloop_ipv6.t ....................... skipped: set TEST_IPV6 to enable this test (d
eveloper only!)
t/mojo/ioloop_tls.t ........................ skipped: set TEST_TLS to enable this test (de
veloper only!)
t/mojo/json.t .............................. ok
t/mojo/json_pointer.t ...................... ok
t/mojo/loader.t ............................ ok
t/mojo/log.t ............................... ok
t/mojo/morbo.t ............................. skipped: set TEST_MORBO to enable this test (
developer only!)
t/mojo/parameters.t ........................ ok
t/mojo/path.t .............................. ok
t/mojo/psgi.t .............................. ok
t/mojo/reactor_ev.t ........................ skipped: set TEST_EV to enable this test (dev
eloper only!)
t/mojo/reactor_poll.t ...................... ok
t/mojo/request.t ........................... ok
t/mojo/request_cgi.t ....................... ok
t/mojo/response.t .......................... ok
t/mojo/server.t ............................ ok
t/mojo/template.t .......................... ok
t/mojo/transactor.t ........................ ok
t/mojo/url.t ............................... ok
t/mojo/user_agent.t ........................ ok
t/mojo/user_agent_online.t ................. skipped: set TEST_ONLINE to enable this test
(developer only!)
t/mojo/user_agent_tls.t .................... skipped: set TEST_TLS to enable this test (de
veloper only!)
t/mojo/websocket.t ......................... ok
t/mojo/websocket_frames.t .................. ok
t/mojo/websocket_proxy.t ................... ok
t/mojo/websocket_proxy_tls.t ............... skipped: set TEST_TLS to enable this test (de
veloper only!)
t/mojolicious/app.t ........................ ok
t/mojolicious/caching_lite_app.t ........... skipped: set TEST_CACHING to enable this test
(developer only!)
t/mojolicious/charset_lite_app.t ........... ok
t/mojolicious/commands.t ................... ok
t/mojolicious/dispatch.t ................... ok
t/mojolicious/dispatcher_lite_app.t ........ ok
t/mojolicious/embedded_app.t ............... ok
t/mojolicious/embedded_lite_app.t .......... ok
t/mojolicious/exception_lite_app.t ......... ok
t/mojolicious/external_app.t ............... ok
t/mojolicious/external_lite_app.t .......... ok
t/mojolicious/group_lite_app.t ............. ok
t/mojolicious/i18n_lite_app.t .............. ok
t/mojolicious/i18n_shortcut_lite_app.t ..... ok
t/mojolicious/json_config_lite_app.t ....... ok
t/mojolicious/json_config_mode_lite_app.t .. ok
t/mojolicious/layouted_lite_app.t .......... ok
t/mojolicious/lite_app.t ................... ok
t/mojolicious/longpolling_lite_app.t ....... 39/128
# Failed test 'right error'
# at t/mojolicious/longpolling_lite_app.t line 332.
# got: undef
# expected: 'Interrupted!'

# Failed test 'right content'
# at t/mojolicious/longpolling_lite_app.t line 333.
# got: 'hi there, whats up?'
# expected: 'hi '
t/mojolicious/longpolling_lite_app.t ....... 104/128
# Failed test 'right content'
# at t/mojolicious/longpolling_lite_app.t line 431.
# got: ''
# expected: 'how'
t/mojolicious/longpolling_lite_app.t ....... 126/128
# Failed test 'right content'
# at t/mojolicious/longpolling_lite_app.t line 446.
# got: ''
# expected: 'how'
# Looks like you failed 4 tests of 128.
t/mojolicious/longpolling_lite_app.t ....... Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/128 subtests
t/mojolicious/multipath_lite_app.t ......... ok
t/mojolicious/ojo.t ........................ ok
t/mojolicious/pattern.t .................... ok
t/mojolicious/pod_renderer_lite_app.t ...... ok
t/mojolicious/production_app.t ............. ok
t/mojolicious/rebased_lite_app.t ........... ok
t/mojolicious/renderer.t ................... ok
t/mojolicious/restful_lite_app.t ........... ok
t/mojolicious/routes.t ..................... ok
t/mojolicious/tag_helper_lite_app.t ........ ok
t/mojolicious/testing_app.t ................ ok
t/mojolicious/tls_lite_app.t ............... skipped: set TEST_TLS to enable this test (de
veloper only!)
t/mojolicious/twinkle_lite_app.t ........... ok
t/mojolicious/types.t ...................... ok
t/mojolicious/upload_lite_app.t ............ ok
t/mojolicious/upload_stream_lite_app.t ..... ok
t/mojolicious/websocket_lite_app.t ......... ok
t/pod.t .................................... skipped: set TEST_POD to enable this test (de
veloper only!)
t/pod_coverage.t ........................... skipped: set TEST_POD to enable this test (de
veloper only!)

Test Summary Report
-------------------
t/mojolicious/longpolling_lite_app.t (Wstat: 1024 Tests: 128 Failed: 4)
Failed tests: 40-41, 125, 128
Non-zero exit status: 4
Files=83, Tests=8562, 100 wallclock secs ( 1.06 usr + 0.36 sys = 1.42 CPU)
Result: FAIL
Failed 1/83 test programs. 4/8562 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
TEMPIRE/Mojolicious-2.98.tar.gz
X:\opt\perl-5.14\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports TEMPIRE/Mojolicious-2.98.tar.gz
Running make install
make test had returned bad status, won't install without force

Last edited: 2012-06-12 15:12:07 +0200 (CEST)
die Drachin, Gwendolyn


Unterschiedliche Perl-Versionen auf Windows (fast wie perlbrew) • Meine Perl-Artikel

View full thread Mojo - Tests schlagen fehl bei StrawberryPerl (Win7)