Test failures for Module-Build-0.4203
Manoj Kumar <[email protected]> Fri, 29 Nov 2013 10:38:26 +0000
| Newsgroups | gmane.comp.lang.perl.modules.module-build |
|---|---|
| Message-ID | <[email protected]> |
--_7053bc27-349b-4f3d-9565-f0fee66adac0_
Content-Type: multipart/alternative;
boundary="_91a96ae7-a131-4e39-b9c6-8c1fc9d2a7e4_"
--_91a96ae7-a131-4e39-b9c6-8c1fc9d2a7e4_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi=2C
I am trying to install Module::Build 0.4203 on a Windows XP machine with Pe=
rl 5.14.2 and 3 of the test programs are failing. For details=2C please see=
http://cpantesters.org/cpan/report/e4cf6b7d-5b83-1016-8517-45cda0cab74a.
These tests are failing since (at least) Module::Build 0.40 - http://cpante=
sters.org/cpan/report/3b7579ca-7643-1014-87f1-7dc2a0cab74a.
t/properties/needs_compiler.t and t/xs.t are failing because=2C in the verb=
ose mode=2C Module::Build::Base::have_c_compiler displays 'ok' which is int=
erpreted by the test harness as the result of a non-planned test. To avoid =
this kind of failure=2C 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 te=
st harness. To avoid this failure=2C I propose to capture the output of th=
e sub test using stdout_of and then check the pass / fail result in the mai=
n test file (t/test_type.t).
I have attached the two patch files.
Thanks.
=
--_91a96ae7-a131-4e39-b9c6-8c1fc9d2a7e4_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hi=2C<br><br>I am trying to inst=
all Module::Build 0.4203 on a Windows XP machine with Perl 5.14.2 and 3 of =
the test programs are failing. For details=2C please see http://cpantesters=
.org/cpan/report/e4cf6b7d-5b83-1016-8517-45cda0cab74a.<br><br>These tests a=
re failing since (at least) Module::Build 0.40 - <a href=3D"http://cpantest=
ers.org/cpan/report/3cbeb38d-3796-1015-b43a-c9c9a0cab74a" target=3D"_blank"=
>http://cpantesters.org/cpan/report/3b7579ca-7643-1014-87f1-7dc2a0cab74a</a=
>.<br><br>t/properties/needs_compiler.t and t/xs.t are failing because=2C i=
n the verbose mode=2C Module::Build::Base::have_c_compiler displays 'ok' wh=
ich is interpreted by the test harness as the result of a non-planned test.=
To avoid this kind of failure=2C I propose to modify the Module::Build::Ba=
se::have_c_compiler so that it displays 'passed' in place of 'ok'.<br><br>t=
/test_type.t fails because it runs another test file which confuses the tes=
t harness. To avoid this failure=2C I propose to =3B capture the output=
of the sub test using stdout_of and then check the pass / fail result in t=
he main test file (t/test_type.t).<br><br>I have attached the two patch fil=
es.<br><br>Thanks.<br><br> </div></body>
</html>=
--_91a96ae7-a131-4e39-b9c6-8c1fc9d2a7e4_--
--_7053bc27-349b-4f3d-9565-f0fee66adac0_
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Module-Build-0.4203_patch_02.diff"
LS0tIC4uL01vZHVsZS1CdWlsZC0wLjQyMDMtMmlna0tnL3QvdGVzdF90eXBlLnQJMjAxMy0xMS0y
NyAxOToxNjo0MS4wMDAwMDAwMDAgKzAxMDANCisrKyB0L3Rlc3RfdHlwZS50CTIwMTMtMTEtMjkg
MDk6NTk6NDguNjExMjUwMDAwICswMTAwDQpAQCAtOSw3ICs5LDcgQEANCiANCiB1c2Ugc3RyaWN0
Ow0KIHVzZSBsaWIgJ3QvbGliJzsNCi11c2UgTUJUZXN0IHRlc3RzID0+IDc7DQordXNlIE1CVGVz
dCB0ZXN0cyA9PiA4Ow0KIA0KIGJsaWJfbG9hZCgnTW9kdWxlOjpCdWlsZCcpOw0KIA0KQEAgLTQ5
LDI0ICs0OSwzNCBAQA0KIA0KIG9rICRtYjsNCiANCi0kbWItPmRpc3BhdGNoKCd0ZXN0c3BlY2lh
bCcpOw0KK215ICRv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RwdXQgPSB1YyhzdGRvdXRfb2YoDQorbXkgJG91dHB1dCA9IHN0ZG91dF9vZigNCiAg
ICAgc3ViIHskbWItPmRpc3BhdGNoKCd0ZXN0c3BlY2lhbCcsIHZlcmJvc2UgPT4gMCl9DQotKSk7
DQorKTsNCitwcmludCAiICAjICIsIGpvaW4oIlxuICAjICIsIHNwbGl0KC9cbi8sICRvdXRwdXQp
KSwgIlxuIjsNCiskb3V0cHV0ID0gdWMoJG91dHB1dCk7DQogbGlrZSgkb3V0cHV0LCBxci9cLlwu
ID9PSy8pOw0KIA0KIGlzKCQ6OngsIDMsICJjYWxsZWQgYSB0aGlyZCB0aW1lIik7DQo=
--_7053bc27-349b-4f3d-9565-f0fee66adac0_
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Module-Build-0.4203_patch_01.diff"
LS0tIC4uL01vZHVsZS1CdWlsZC0wLjQyMDMtMmlna0tnL2xpYi9Nb2R1bGUvQnVpbGQvQmFzZS5w
bQkyMDEzLTExLTI3IDE5OjE2OjQxLjAwMDAwMDAwMCArMDEwMA0KKysrIGxpYi9Nb2R1bGUvQnVp
bGQvQmFzZS5wbQkyMDEzLTExLTI5IDA5OjU2OjEzLjkwODEyNTAwMCArMDEwMA0KQEAgLTUzNDAs
NyArNTM0MCw3IEBADQogICAkc2VsZi0+bG9nX3ZlcmJvc2UoIkNoZWNraW5nIGlmIGNvbXBpbGVy
IHRvb2xzIGNvbmZpZ3VyZWQuLi4gIik7DQogICBteSAkYiA9IGV2YWwgeyAkc2VsZi0+Y2J1aWxk
ZXIgfTsNCiAgIG15ICRoYXZlID0gJGIgJiYgZXZhbCB7ICRiLT5oYXZlX2NvbXBpbGVyIH07DQot
ICAkc2VsZi0+bG9nX3ZlcmJvc2UoJGhhdmUgPyAib2suXG4iIDogImZhaWxlZC5cbiIpOw0KKyAg
JHNlbGYtPmxvZ192ZXJib3NlKCRoYXZlID8gInBhc3NlZC5cbiIgOiAiZmFpbGVkLlxuIik7DQog
ICByZXR1cm4gJHAtPntfaGF2ZV9jX2NvbXBpbGVyfSA9ICRoYXZlOw0KIH0NCiANCg==
--_7053bc27-349b-4f3d-9565-f0fee66adac0_--