haskell / haskell/cabal

v2-test in master should ignore --test-option[s] from the hash

Open
#5,789 3 comments 1 reaction 0 assignees View on GitHub
cabal-install: cmd/test cabal-install: v2-build system type: bug type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

in any project with tasty, with cabal 2.5, running this

```
cabal v2-test -O0 --test-options="--pattern Foo"
```

followed by

```
cabal v2-test -O0 --test-options="--pattern Bar"
```

will result in trying to recompile everything.

It looks like `test-option` and `test-options` are being included in the hash.

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.