Dear Peter,
Thanks for your reply.
I patched up 01_HighLevel.t as follows:
--- 01_HighLevel.t.org Tue Jan 29 22:13:20 2008
+++ 01_HighLevel.t Tue Jan 29 22:09:11 2008
@@ -11,16 +11,15 @@
Test Win32::MSI::HighLevel
=cut
-
BEGIN {
- use lib '../lib';
- use_ok("Win32::MSI::HighLevel");
+ if ( $^O eq 'MSWin32' ) {
+ plan('no_plan');
+ } else {
+ plan( skip_all => "Windows only module. Tests irrelevant on $^O" );
+ }
}
-
-if ( $^O eq 'MSWin32' ) {
- plan('no_plan');
-} else {
- plan( skip_all => "Windows only module. Tests irrelevant on $^O" );
+BEGIN {
+ use_ok("Win32::MSI::HighLevel");
}
my $filename = 'delme.msi';
=======================================================================
Its test was done well as follows:
C:\temp\Win32-MSI-HighLevel-1.000000>nmake test
Microsoft(R) Program Maintenance Utility Version 7.00.9955
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl
ib\lib', 'blib\arch')" t/*.t
t/01_HighLevel......ok
t/pod...............ok
t/pod_cover.........ok
All tests successful.
Files=3, Tests=36, 4 wallclock secs ( 0.08 usr + 0.03 sys = 0.11 CPU)
Result: PASS
Thanks,
Taro Nishino
On Wed, 30 Jan 2008 00:09:31 +1300
"Peter Jaquiery" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm having trouble reproducing the failure Taro Nishino reported against the
> module Win32-MSI-HighLevel-1.000000 that I uploaded to CPAN a couple of days
> ago. Can anyone give me any tips for tracking down and resolving the
> problem?
>
> I presume that there is an issue with the module search path, but when I
> download and test the module on my local machine I can't reproduce the
> problem.
>
> Cheers,
> Peter Jaquiery
>
> ----- Original Message -----
> From: "Taro Nishino" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 29, 2008 2:39 AM
> Subject: FAIL Win32-MSI-HighLevel-1.000000 MSWin32-x86-multi-thread 5.0
>
>
> > This distribution has been tested as part of the cpan-testers
> > effort to test as many new uploads to CPAN as possible. See
> > http://testers.cpan.org/
> >
> > Please cc any replies to [email protected] to keep other
> > test volunteers informed and to prevent any duplicate effort.
> >
> > --
> > Dear Peter Jaquiery,
> >
> > This is a computer-generated report for Win32-MSI-HighLevel-1.000000
> > on 5.8.8, created automatically by CPAN-Reporter-1.08
> > and sent to the CPAN Testers mailing list.
> >
> > If you have received this email directly, it is because the person testing
> > your distribution chose to send a copy to your CPAN email address; there
> > may be a delay before the official report is received and processed
> > by CPAN Testers.
> >
> > Thank you for uploading your work to CPAN. However, it appears that
> > there were some problems with your distribution. If these results are
> > not what you expect or if you would like to learn how to avoid FAIL
> > reports for missing dependencies, unsupported operating systems, etc.,
> > please consult "Notes for CPAN Authors" on the CPAN Testers Wiki:
> > http://cpantest.grango.org
> >
> > Sections of this report:
> >
> > * Tester comments
> > * Program output
> > * Prerequisites
> > * Environment and other context
> >
> > ------------------------------
> > TESTER COMMENTS
> > ------------------------------
> >
> > Additional comments from tester:
> >
> > [none provided]
> >
> > ------------------------------
> > PROGRAM OUTPUT
> > ------------------------------
> >
> > Output from 'nmake test':
> >
> >
> > Microsoft(R) Program Maintenance Utility Version 7.00.9955
> > Copyright (C) Microsoft Corporation. All rights reserved.
> >
> > C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
> > 'blib\lib', 'blib\arch')" t/*.t
> > t/01_HighLevel......You tried to run a test without a plan at
> > t/01_HighLevel.t line 17.
> > BEGIN failed--compilation aborted at t/01_HighLevel.t line 18, <DATA> line
> > 164.
> > Dubious, test returned 2 (wstat 512, 0x200)
> > No subtests run
> > t/pod...............ok
> > t/pod_cover.........ok
> >
> > Test Summary Report
> > -------------------
> > t/01_HighLevel.t (Wstat: 512 Tests: 0 Failed: 0)
> > Non-zero exit status: 2
> > Parse errors: No plan found in TAP output
> > Files=3, Tests=8, 3 wallclock secs ( 0.02 usr + 0.03 sys = 0.05 CPU)
> > Result: FAIL
> > Failed 1/3 test programs. 0/8 subtests failed.
> > NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : fSf^ーf" fRーfh '0xff'
> > Stop.
> >
> > ------------------------------
> > PREREQUISITES
> > ------------------------------
> >
> > Prerequisite modules loaded:
> >
> > requires:
> >
> > Module Need Have
> > ---------- ---- ----
> > Win32::API 0.46 0.46
> >
> > ------------------------------
> > ENVIRONMENT AND OTHER CONTEXT
> > ------------------------------
> >
> > Environment variables:
> >
> > COMSPEC = C:\WINDOWS\system32\cmd.exe
> > INCLUDE = C:\Program Files\Microsoft Visual Studio
> > .NET\VC7\ATLMFC\INCLUDE;C:\Program Files\Microsoft Visual Studio
> > .NET\VC7\INCLUDE;C:\boost;C:\Program Files\Microsoft Visual Studio
> > .NET\VC7\PlatformSDK\include\prerelease;C:\Program Files\Microsoft Visual
> > Studio .NET\VC7\PlatformSDK\include;C:\Program Files\Microsoft Visual
> > Studio .NET\FrameworkSDK\include;C:\Program Files\Microsoft Visual Studio
> > .NET\FrameworkSDK\include\;
> > LIB = C:\Program Files\Microsoft Visual Studio
> > .NET\VC7\ATLMFC\LIB;C:\Program Files\Microsoft Visual Studio
> > .NET\VC7\LIB;C:\Program Files\Microsoft Visual Studio
> > .NET\VC7\PlatformSDK\lib\prerelease;C:\Program Files\Microsoft Visual
> > Studio .NET\VC7\PlatformSDK\lib;C:\Program Files\Microsoft Visual Studio
> > .NET\FrameworkSDK\lib;C:\Program Files\Microsoft Visual Studio
> > .NET\FrameworkSDK\Lib\;
> > NUMBER_OF_PROCESSORS = 1
> > PATH = C:\Program Files\Microsoft Visual Studio
> > .NET\Common7\IDE;C:\Program Files\Microsoft Visual Studio
> > .NET\VC7\BIN;C:\Program Files\Microsoft Visual Studio
> > .NET\Common7\Tools;C:\Program Files\Microsoft Visual Studio
> > .NET\Common7\Tools\bin\prerelease;C:\Program Files\Microsoft Visual Studio
> > .NET\Common7\Tools\bin;C:\Program Files\Microsoft Visual Studio
> > .NET\FrameworkSDK\bin;C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705;C:\PostgreSQL\bin;C:\Perl\bin;C:\glut;C:\PROGRA~1\PerlEdit;C:\GTK\bin;C:\PDCurses\win32;C:\qdbm;C:\icu4c\bin;C:\openssl\bin;C:\iconv\.;C:\nkf\.;c:\imagemagick;C:\PsTools\.;C:\dm\bin;C:\SWIG\;C:\patch;C:\diff;C:\NAnt\bin;C:\Dev-Cpp\bin;C:\Python\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> >
> > Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Network
> > Associates\PGPNT;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\PROGRA~1\WIDEST~1\ws\bin;C:\PROGRA~1\WIDEST~1\ruby\bin;C:\PROGRA~1\WIDEST~1\Perl\bin;C:\PROGRA~1\WIDEST~1\Python;C:\P
> > ROGRA~1\WIDEST~1\gcc\bin;C:\perl2exe;C:\perl6\bin;C:\Program
> > Files\Microsoft Network Monitor 3\;C:\Program Files\Oracle\Berkeley DB
> > 4.6.21\bin;C:\Program Files\Oracle\Berkeley DB 4.6.21\bin\debug;C:\Program
> > Files\OpenCV\bin;;
> > PERL5LIB =
> > PERL5_CPANPLUS_IS_RUNNING = 2724
> > PERL5_CPAN_IS_RUNNING = 2724
> > PROCESSOR_IDENTIFIER = x86 Family 15 Model 2 Stepping 9, GenuineIntel
> > TEMP = C:\DOCUME~1\TARO-N~1\LOCALS~1\Temp
> >
> > Perl special variables (and OS-specific diagnostics, for MSWin32):
> >
> > $^X = C:\Perl\bin\perl.exe
> > $UID/$EUID = 0 / 0
> > $GID = 0
> > $EGID = 0
> > Win32::GetOSName = WinXP/.Net
> > Win32::GetOSVersion = Service Pack 2, 5, 1, 2600, 2, 2, 0, 256, 1
> > Win32::IsAdminUser = 1
> >
> > Perl module toolchain versions installed:
> >
> > Module Have
> > ------------------- ------
> > CPAN 1.9205
> > Cwd 3.27
> > ExtUtils::CBuilder 0.21
> > ExtUtils::Command 1.13
> > ExtUtils::Install 1.44
> > ExtUtils::MakeMaker 6.42
> > ExtUtils::Manifest 1.51
> > ExtUtils::ParseXS 2.18
> > File::Spec 3.27
> > Module::Build 0.2808
> > Module::Signature 0.44
> > Test::Harness 3.07
> > Test::More 0.74
> > YAML 0.66
> > YAML::Syck 1.01
> > version 0.74
> >
> >
> > --
> >
> > Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
> > Platform:
> > osname=MSWin32, osvers=5.0, archname=MSWin32-x86-multi-thread
> > uname=''
> > config_args='undef'
> > hint=recommended, useposix=true, d_sigaction=undef
> > usethreads=define use5005threads=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='cl', ccflags
> > ='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT
> > -DHAVE_DES_FCRYPT
> > -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
> > -DPERL_IMPLICIT_SYS
> > -DUSE_PERLIO -DPERL_MSVCRT_READFIX',
> > optimize='-MD -Zi -DNDEBUG -O1',
> > cppflags='-DWIN32'
> > ccversion='12.00.8804', gccversion='', gccosandvers=''
> > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
> > d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
> > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64',
> > lseeksize=8
> > alignbytes=8, prototype=define
> > Linker and Libraries:
> > ld='link', ldflags
> > '-nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE"
> > -machine:x86'
> > libpth=\lib
> > libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
> > comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
> > uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib
> > msvcrt.lib
> > perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
> > comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
> > uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib
> > msvcrt.lib
> > libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib
> > gnulibc_version=''
> > Dynamic Linking:
> > dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
> > cccdlflags=' ',
> > lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf
> > -libpath:"C:\Perl\lib\CORE"
> > -machine:x86'
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.516 / Virus Database: 269.19.13/1246 - Release Date:
> > 27/01/2008 6:39 p.m.
> >