Subject: | Test failures for Module-Build-0.4203 |
Date: | Fri, 29 Nov 2013 10:38:26 +0000 |
To: | "bug-Module-Build [...] rt.cpan.org" <bug-module-build [...] rt.cpan.org>, "module-build [...] perl.org" <module-build [...] perl.org> |
From: | Manoj Kumar <mkmetw [...] hotmail.com> |
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.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.