Re: Windows testing/debugging

[email protected] (Serguei Trouchelle)
Newsgroups perl.cpan.testers.discuss
Message-ID <[email protected]>
On 2019-02-25 05:11, David Cantrell wrote:

> I don't need to use Andreas's analysis tool to figure out what the
> common factor is in these test failures :-)
>    http://cpantesters.org/distro/T/Test-Differences.html
>
> But I don't have access to any Windows machines, or any knowledge of how
> to use any of the tools on that platform or how to install stuff. Does
> anything exist now like the project a few years ago where Microsoft
> donated some cloudy VMs for use by perl people that already had a
> sensible toolchain and stuff installed?
>

I looked into the problem, the issue lies in calling system() with 
double quotes. Double quotes on Win32 behave different from Unix-like 
systems and should generally be avoided. This diff fixes the problem:

25,26c25,26
<             [        "\\N{U+2603}", "\\N{U+1F4A9}"],
<             [reverse "\\N{U+2603}", "\\N{U+1F4A9}"]
---
 >             [        qq{\\N{U+2603}}, qq{\\N{U+1F4A9}}],
 >             [reverse qq{\\N{U+2603}}, qq{\\N{U+1F4A9}}]


-- 
S.T.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.