in reply to Re^2: Building Win32::GuiTest for perl 5.14 or higher (Bad tests == useless statistics!)
in thread Building Win32::GuiTest for perl 5.14 or higher
Another "yes." :)
The test suite uses a lot of SKIP blocks if the OS isn't reported as win32 or cygwin, so it's issuing false positives for Linux. The author should bail out (or possibly die at Makefile.PL stage) if Win32/cygwin isn't available. That would prevent false positives, while simultaneously preventing a bunch of FAILs from cluttering the results.
In particular, this line from Makefile.PL should be elevated to fatal:
warn "** This module can only work under Win32\n" unless $can_compile;
The author might also have better results at portability across win32 platforms if he used ExtUtils::CppGuess to detect the correct compiler to use and the appropriate linker libraries. I've spent some time looking over that module and consider it pretty solid. A lot of work has gone into making that module "do the right thing."
But nevertheless there is still a Win32 "PASS" at the 5.14.2 level using Strawberry Perl, both with 32 bit and 64 bit Perls.
Nice PPM status source. I like that.
This might be helpful: RT#75338 suggests forcing the build.
Updated: Added a look at Makefile.PL and EU::CppGuess.
Dave
|
|---|