Hi, I am trying to install Module::Build 0.4203 on a Windows XP machine with Perl 5.14.2 and 3 of the test programs are failing. For details, please see http://cpantesters.org/cpan/report/e4cf6b7d-5b83-1016-8517-45cda0cab74a.
These tests are failing since (at least) Module::Build 0.40 - http://cpantesters.org/cpan/report/3b7579ca-7643-1014-87f1-7dc2a0cab74a. t/properties/needs_compiler.t and t/xs.t are failing because, in the verbose mode, Module::Build::Base::have_c_compiler displays 'ok' which is interpreted by the test harness as the result of a non-planned test. To avoid this kind of failure, I propose to modify the Module::Build::Base::have_c_compiler so that it displays 'passed' in place of 'ok'. t/test_type.t fails because it runs another test file which confuses the test harness. To avoid this failure, I propose to capture the output of the sub test using stdout_of and then check the pass / fail result in the main test file (t/test_type.t). I have attached the two patch files. Thanks.
Module-Build-0.4203_patch_02.diff
Description: Binary data
Module-Build-0.4203_patch_01.diff
Description: Binary data