Re: Windows testing/debugging

2019-03-04 Thread Eirik Berg Hanssen
On Tue, Feb 26, 2019 at 9:45 PM David Cantrell wrote: > On 2019-02-26 17:32, Karen Etheridge wrote: > > 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

Re: Windows testing/debugging

2019-02-28 Thread David Cantrell
On Wed, Feb 27, 2019 at 07:40:22AM +0100, Slaven Rezic wrote: > I find debugging with AppVeyor quite tedious --- it requires a fake git > commit for every thing to try and waiting until the AppVeyor system > picks up the change and runs it. The nice people at Appveyor pointed me at this: https:

Re: Windows testing/debugging

2019-02-26 Thread Slaven Rezic
James E Keenan writes: > On 2/25/19 8:11 AM, 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

Re: Windows testing/debugging

2019-02-26 Thread Slaven Rezic
Serguei Trouchelle writes: > Probably somewhere in MSDN. But the list form of system() can be fixed for Windows, see http://blogs.perl.org/users/graham_knop/2011/12/using-system-or-exec-safely-on-windows.html > > The problem is not in Perl, the problem is in Windows command line > where s

Re: Windows testing/debugging

2019-02-26 Thread Jean-Damien Durand
IPC::Cmd mentions quote differences. Dunno if it would have behave well on Windows before Serguei's patch. On 2/27/19 5:01 AM, Serguei Trouchelle wrote: Probably somewhere in MSDN. The problem is not in Perl, the problem is in Windows command line where single quote is not a quote, and double

Re: Windows testing/debugging

2019-02-26 Thread Serguei Trouchelle
Probably somewhere in MSDN. The problem is not in Perl, the problem is in Windows command line where single quote is not a quote, and double quote should be doubled (or escaped) to work as people from bash/sh world would expect. Examples: C:\>perl -M5.010 -we "say ""a""" a C:\>perl -M5.010

Re: Windows testing/debugging

2019-02-26 Thread David Cantrell
On 2019-02-26 17:32, Karen Etheridge wrote: 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. I couldn't see anything in perlport ei

Re: Windows testing/debugging

2019-02-26 Thread Karen Etheridge
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 wrote: > > On 2019-02-25 05:11,

Re: Windows testing/debugging

2019-02-26 Thread David Cantrell
On Mon, Feb 25, 2019 at 11:27:50PM -0800, Serguei Trouchelle wrote: > 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,2

Re: Windows testing/debugging

2019-02-25 Thread Serguei Trouchelle
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

Re: Windows testing/debugging

2019-02-25 Thread James E Keenan
On 2/25/19 8:11 AM, 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

Windows testing/debugging

2019-02-25 Thread David Cantrell
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