Thanks, that was my expectation.

 

To be clear, I ran WSL just to assert that the networking tests are correct & that they pass on Linux .

 

When it comes to Windows, unfortunately I wasn’t able to find a baseline build where the network tests are passing ☹🤷

 

So my conclusion thus far is that the network tests didn’t pass on Windows for a while now, and I have no idea if our UDP patch is introducing regressions since I don’t have a good baseline.

 

 

 

Sent from Mail for Windows

 

From: Eli Zaretskii
Sent: Thursday, January 12, 2023 2:08 AM
To: Robert Pluim
Cc: matei.alexandru@live.com; 45821@debbugs.gnu.org
Subject: Re: bug#45821: Emacs UDP support on Windows

 

> From: Robert Pluim <rpluim@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>,  "45821@debbugs.gnu.org"
>  <45821@debbugs.gnu.org>
> Date: Thu, 12 Jan 2023 10:22:17 +0100
>
> >>>>> On Wed, 11 Jan 2023 13:23:03 +0000, Alex Matei <matei.alexandru@live.com> said:
>
>     Alex> Network tests are passing in WSL Emacs.. => Windows has issues, and might have always had them? 🤷‍♂️
>
> Thatʼs without a doubt true. Iʼm using MSYS2 to build Emacs and run
> the tests, Iʼve not tried WSL at all. Eli, what environment should we
> be using to build and test Emacs on MS-Windows? I know there are
> legion, and I always forget the differences.

The environment should be native Windows, not WSL.  WSL is Unix
running in a VM.

As for "using MSYS2", if that boils down to invoking Emacs from the
MSYS2 Bash prompt, it is still native Windows, and should not affect
the tests.