List Info

Thread: Fix ext/Win32API/File/t/file.t under test harness




Fix ext/Win32API/File/t/file.t under test harness
user name
2007-02-27 11:38:15
"./perl -I../lib harness" causes failures in
ext/Win32API/File/t/file.t
such as:

# attrLetsToBits: Can't locate Carp/Heavy.pm in INC (INC
contains:
../lib /usr/lib/perl5/5.9/cygwin /usr/lib/perl5/5.9 .) at
../lib/Carp.pm line 39.

not ok 56

This is caused by the test script chdir'ing to a temp dir. 
The
attached patch loads Carp::Heavy before testing begins.


 
____________________________________________________________
________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
  
Re: Fix ext/Win32API/File/t/file.t under test harness
user name
2007-02-27 12:07:54
Jerry D. Hedden wrote:
> "./perl -I../lib harness" causes failures in
ext/Win32API/File/t/file.t
> such as:
> 
> # attrLetsToBits: Can't locate Carp/Heavy.pm in INC (INC
contains:
> ../lib /usr/lib/perl5/5.9/cygwin /usr/lib/perl5/5.9 .)
at
> ../lib/Carp.pm line 39.
> 
> not ok 56
> 
> This is caused by the test script chdir'ing to a temp
dir.  The
> attached patch loads Carp::Heavy before testing begins.

?

C:p5pbleadperlt>.perl -I..lib harness
..extWin32APIFiletfile.t

runs without error for me. So does:

C:p5pbleadperlt>..perl harness
..extWin32APIFiletfile.t

-- 


------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files
transmitted with it are confidential and intended for the
addressee(s) only. If you have received this message in
error or there are any problems, please notify the sender
immediately. The unauthorized use, disclosure, copying or
alteration of this message is strictly forbidden. Note that
any views or opinions presented in this email are solely
those of the author and do not necessarily represent those
of Radan Computational Ltd. The recipient(s) of this message
should check it and any attached files for viruses: Radan
Computational will accept no liability for any damage caused
by any virus transmitted by this email.
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )