Subject: | PAR test fails a gui test with Win32/Exe.pm |
<code>
Most of this was mentioned in Bug #52794, but there is a different bug, too.
As mentioned in 52794, PAR.pl needs PAR/Filter/PodStrip.pm, but
PAR/Filter/PodStrip.pm is installed with PAR.pl. In a fresh Perl
install, since PodStrip.pm is not there, there are a lot of "Can't find"
messages, and the said output verbiage interferes with the t/20 tests.
Because of that, we cannot spot the bug subject here. Namely, that one
of the t/20 tests that tests a gui switch fails.
The current solution to the first problem (for me, that is) is to simply
install PAR::Packer, just to get the PodStrip.pm installed. Then I can
rerun the "dmake test" to see if there are any "real" bugs. There is.
Test pp_gui_tests fails.
I will paste the relevant 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>