Choosing tested I/O managers via ways
Hi! The file `testsuite/config/ghc` defines two ways specifically for testing the Windows I/O manager: `winio` and `winio_threaded`. Both use `--io-manager=native` as an additional runtime option. However, these days the native Windows I/O manager is the default on Windows, from what I understand. Doesn’t this mean then that, on Windows, tests are run twice with the Windows I/O manager and never with the POSIX I/O manager? All the best, Wolfgang
On Mon, Jan 19, 2026 at 08:26:52PM +0200, Wolfgang Jeltsch wrote:
The file `testsuite/config/ghc` defines two ways specifically for testing the Windows I/O manager: `winio` and `winio_threaded`. Both use `--io-manager=native` as an additional runtime option. However, these days the native Windows I/O manager is the default on Windows, from what I understand. Doesn’t this mean then that, on Windows, tests are run twice with the Windows I/O manager and never with the POSIX I/O manager?
Apparently, my understanding was wrong: the native Windows I/O manager is still *not* the default on Windows. Therefore, the setup of the testsuite should be fine. 🙂 All the best, Wolfgang
participants (1)
-
Wolfgang Jeltsch