haskell / haskell/cabal

cabal-instal unit test `rawSystemStdInOut` fails in windows using the ghc-x.y.x wrapper

Open
#8,049 2 comments 0 reactions 0 assignees View on GitHub
Cabal: tests/unit-tests type: bug type: testing
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

* ci run: https://github.com/jneira/cabal/runs/5553467288?check_suite_focus=true#step:13:14
* for all ghcs >= 8.0 && <= 9.2
* error:

```
\033[0;96m=== Cabal: tests =============================================== 12:39:47 ===\033[0m
\033[0;34m>>> D:\a\cabal\cabal\dist-newstyle-validate-ghc-9.2.1\build\x86_64-windows\ghc-9.2.1\Cabal-tests-3\t\unit-tests\build\unit-tests\unit-tests.exe -j2 --hide-successes --with-ghc=ghc-9.2.1 \033[0m
File modification time resolution calibration completed, maximum delay
observed: 1.955 ms. Will be using delay of 20.0 for test runs.
Unit Tests
Distribution.Simple.Utils
rawSystemStdInOut reports text decoding errors: FAIL
Exception: ghc-9.2.1: createProcess: does not exist (No such file or directory)
Use -p '/rawSystemStdInOut reports text decoding errors/' to rerun this test only.

1 out of 201 tests failed (39.08s)
```

* succesful run using the raw ghc executable: https://github.com/jneira/cabal/runs/5553870596?check_suite_focus=true#step:13:16

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.