Thu Jan 28 14:39:49 2010: Request 52794 was acted upon.
Transaction: Correspondence added by m.noon...@comcast.net
       Queue: PAR-Packer
     Subject: Multiple tests failing on strawberry perl
   Broken in: 1.001
    Severity: (no value)
       Owner: Nobody
  Requestors: javier...@gmail.com
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=52794 >


<code>
I am betting you have not installed PAR::Packer before, or you have a
clean Perl install.
PAR Packer will not install on a clean Windows Perl 5.10.1 installation.

I think there are two problems.  First, it has a circular reference to
PAR/Filter/PodStrip.pm.  That is, PAR.pl needs it in a number of places.
 However, it is installed along with PAR itself. Once PAR is installed
at least once, that problem goes away because the tests can then find
PAR/Filter/PodStrip.pm in the normal places.

The first problem above masks the second.  Namely, that one of the t/20
tests has a test failure when using Win32/Exe.pm.  It masks the failure
because the t/20 tests do not run with the first problem.  Let me explain.

Most of the t/20 tests use the pp command to create an executable that,
when run, prints out something like "Hello".  The tests are therefore
looking for such responses. However, in addition to things like Hello,
ithe tests are getting back things like "Can't locate
PAR/Filter/PodStrip.pm", which causes the test to fail.  Since so many
fail, we never get to see the "Win32/Exe.pm" failure.  Or at least, with
all the other error messages, we do not spot it.

I installed with force so that PAR/Filter/PodStrip.pm was installed. 
Upon rerun, all the t/20 tests pass but the Win32/Exe.pm

I will paste the relevent parts of the results below.

C:\temp\PAR-Packer-1.002>dmake test
... etcetera, etcetera, ...
t/10-parl-generation.t ... ok
t/20-pp.t ................ 31/34 Can't call method "remove" on an
undefined value at C:/Perl/site/lib/Win32/Exe.pm line 220.

#   Failed test 'pp_gui_tests
t/20-pp.t ................ 32/34 # amsg572: sub pp_gui_tests cannot
system pp --gui --icon hi.ico -o hello.exe hello.pl:No such file or
directory:
# '
#   at automated_pp_test.pl line 8446.
t/20-pp.t ................ 34/34 # Looks like you failed 1 test of 34.
t/20-pp.t ................ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/34 subtests
t/30-current_exec.t ... etcetera, etcetera, ...
</code>

Reply via email to