Skip Menu |

This queue is for tickets about the UUID-Tiny CPAN distribution.

Report information
The Basics
Id: 50519
Status: resolved
Priority: 0/
Queue: UUID-Tiny

People
Owner: CAUGUSTIN [...] cpan.org
Requestors: corion [...] corion.net
kjell [...] kvinge.biz
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.02
Fixed in: 1.0201



Hi. I want to use this module for a crossplatfor perlscript Im working on. Currently, it looks like it wont install via CPAN on strawberryperl on windows. This is output from the tests when running install from cpan: C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/00-load.t ......... 1/1 # Testing UUID::Tiny 1.02, Perl 5.010000, C:\STRAWB~1\ perl\bin\perl.exe t/00-load.t ......... ok t/01-UUID-std.t ..... ok t/02-UUID-legacy.t .. ok t/03-UUID-fork.t .... - gjenkjennes ikke som en intern eller ekstern kommando, // This is norwegian. it says: cant regognize internal or //external command Use of uninitialized value $child_data in chomp at t/03-UUID-fork.t line 20. Use of uninitialized value $uuid in length at C:\strawberry\cpan\build\UUID-Tiny -1.02-LZMVGh\blib\lib/UUID/Tiny.pm line 551. ... I will try reproduce the error running the test manually. Best regards Kjell Kvinge
Subject: Re: Bug #50519 for UUID-Tiny: Test number 03 fails on Windows
Date: Tue, 05 Jan 2010 23:12:22 +0100
To: bug-UUID-Tiny [...] rt.cpan.org
From: Max Maischein <corion [...] corion.net>
Hello, I can confirm that test number three fails on Windows. This has to do with the way that the test is written: open '|-' is not supported on Windows. The best approach is to skip that test on Windows: if ($^O eq 'MSWin32') { skip_all("Pipe-open not supported"); }; Thanks, -max
Now skipping test on MSWin32.
Am Di 05. Jan 2010, 17:12:57, corion@corion.net schrieb: Show quoted text
> Hello, > > I can confirm that test number three fails on Windows. This has to do > with the way that the test is written: > > open '|-' > > is not supported on Windows. The best approach is to skip that test on > Windows: > > if ($^O eq 'MSWin32') { > skip_all("Pipe-open not supported"); > }; > > Thanks, > -max
Thanks for your support. I had to use slightly different code to make it work, but you pointed me in the right direction. -- caugustin