Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Testing module on Windows

by FunkyMonk (Canon)
on Jul 13, 2011 at 11:58 UTC ( #914108=note: print w/ replies, xml ) Need Help??


in reply to Testing module on Windows

I used to run a Windows CPAN smoker, but gave up. Windows is just Too Much Pain. I see that I had RedisDB blocked in my distroprefs (that usually means that it hangs during testing). I ran its tests and got...

Running make test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'inc', 'blib\lib', ' blib\arch')" t/00-load.t t/basic_redis.t t/cmd_list.t t/cmd_server.t t +/manifest.t t/network.t t/pod. t t/protocol.t t/subscribe.t t/transactions.t # Testing RedisDB 0.14, Perl 5.012003, C:\STRAWB~1\perl\bin\perl.exe t/00-load.t ....... ok t/basic_redis.t ... skipped: Can't start redis-server t/cmd_list.t ...... skipped: Can't start redis-server t/cmd_server.t .... skipped: Can't start redis-server t/manifest.t ...... skipped: Author tests not required for installatio +n # Failed test 'Ping' # at t/network.t line 33. # died: Your vendor has not defined Socket macro MSG_DONTWAIT, used at + C:\strawberry\cpan\build\Redi sDB-0.14-u1AMaI\blib\lib/RedisDB.pm line 160 # Failed test 'pong' # at t/network.t line 34. # got: undef # expected: 'PONG' # Failed test 'Connection restored' # at t/network.t line 37. # died: Your vendor has not defined Socket macro MSG_DONTWAIT, used at + C:\strawberry\cpan\build\Redi sDB-0.14-u1AMaI\blib\lib/RedisDB.pm line 160 # Failed test 'key is set' # at t/network.t line 38. # got: undef # expected: 'OK' # Failed test 'Sent command without problems' # at t/network.t line 57. # died: Your vendor has not defined Socket macro MSG_DONTWAIT, used at + C:\strawberry\cpan\build\Redi sDB-0.14-u1AMaI\blib\lib/RedisDB.pm line 160 # Looks like you failed 5 tests of 9.

It hung at that point :(


Comment on Re: Testing module on Windows
Download Code
Replies are listed 'Best First'.
Re^2: Testing module on Windows
by zwon (Monsignor) on Jul 13, 2011 at 13:25 UTC

    Thanks, I see now, probably it takes more than one monkey to setup Windows testing ;) Hopefully version 0.16 of RedisDB fixes this problem. Thanks to CardinalNumber for his suggestions about the fix.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://914108]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2015-07-30 18:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls