Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 :(

Replies are listed 'Best First'.
Re^2: Testing module on Windows
by zwon (Abbot) 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?
[Corion]: hippo: Yeah, but at least two years ago, it still was close enough to 20% cut
[Corion]: But I have a very positive experience with a four day workweek and a three day weekend. I can't easily go back though to full money.
[Corion]: That is easy without having to pay for a house, a wife or children though. If I had any of these, or any two of these, the decision wouldn't be that easy.
[ambrus]: wait. I understand no wife and children, but how do you not have to pay for a house?
[hippo]: I had a low-paid job about 20 years ago and seriously considered going down to a 3-day week. Would have worked 60% of the time for about 80% of the cash.
[Corion]: ambrus: Well, I pay rent, but don't own a house with variable/ unforeseeable costs
[hippo]: The thesholds/benefits balance at the time was nuts.

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2017-09-21 15:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (249 votes). Check out past polls.

    Notices?