Unable to generate logs at the specified location.
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
**Describe the bug**
I am currently working on updating Hackage builder to cabal v2 as a part of GSoC Project.
The objective was to build the package, run tests, create Haddock doc and run code-coverage.
I need the report of each of these tasks in the specified files. I tried setting the flags to make cabal write test log, build-summary, logs and docs at the specified location but it doesn't seem to work.
**To Reproduce**
In the root directory of a package (async in this case), I ran the following code.
```
$ cabal v2-build \
--enable-tests \
--run-tests \
--test-log="/home/USER/haskell/test.log" \
--haddock-for-hackage \
--enable-doc \
--docdir="/home/USER/haskell/" \
--enable-coverage \
--build-summary="/home/USER/haskell/r.report" \
--build-log="/home/USER/haskell/r.log" \
--remote-build-reporting=detailed \
--report-planning-failure
```
**Expected behavior**
Specified files must have a log or report content.
**System information**
- Ubuntu 20.0.4
- ghc version: 8.8.3
- cabal version: 3.2.0.0
**Additional context**
How can we set coverage report, doc tarball location?
Contributor guide
Assessment
This issue has not been assessed yet.