-
Notifications
You must be signed in to change notification settings - Fork 724
Open
Labels
Description
Describe the bug
build-tool-depends executables are not included in PATH when running executable/testsuite components of packages with build-type: configure.
To Reproduce
Reproducer available here.
$ git clone https://gitlab.haskell.org/bgamari/build-tool-repro
$ cd build-tool-repro
$ cabal test
...
Running 1 test suites...
Test suite build-tool-repro: RUNNING...
build-tool-repro: build-tool-repro-child: callProcess: posix_spawnp: does not exist (No such file or directory)
Test suite build-tool-repro: FAIL
Test suite logged to:
/mnt/data/exp/haskell-packages/process/hi/dist-newstyle/build/x86_64-linux/ghc-9.4.8/build-tool-repro-0.1.0.0/test/build-tool-repro-0.1.0.0-build-tool-repro.log
0 of 1 test suites (0 of 1 test cases) passed.
Error: cabal: Tests failed for build-tool-repro-0.1.0.0.
Expected behavior
The test passes.
System information
- Linux at very least
cabal-install 3.10.2.1