Closed
Description
Describe the bug
Building my project and the running the tests, causes the test command to rebuild everything.
I like to see the output of my test suites so I use --test-show-details=direct
and I have multiple test suites and to avoid them all running at the same time (and having their output all come out at once) I use -j1
.
To Reproduce
Steps to reproduce the behavior:
Using cabal version 3.0:
$ cabal build all
$ cabal test all -j1 --test-show-details=direct
If I run the same two commands again, the build
command will rebuild everything and then the test
command will again rebuild everything.
Expected behavior
The test
command should only build the stuff that has not been built.
System informataion
- Linuix
- cabal 3.0
- ghc 8.6.5