Re: Windows testing/debugging

[email protected] (Karen Etheridge)
Newsgroups perl.cpan.testers.discuss
Message-ID <CAPJsHfAQ6i59KP56rZaN8ZLnp7fJ+M+FFxPW+7TgS=UDH_2mrA@mail.gmail.com>
Is there any documentation on that? `perldoc -f system` only describes
the different handling of "system LIST" vs "system PROGRAM LIST" on
windows, not any differences between different types of quote
characters.

On Mon, Feb 25, 2019 at 11:28 PM Serguei Trouchelle <[email protected]> wrote:
>
> 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.