Skip to content
Snippets Groups Projects
Commit 98be338d authored by Matt Renaud's avatar Matt Renaud
Browse files

Change flag to --test-fail-when-no-test-suites.

This changes the default behaviour to succeed when no test suites are found. The
old behaviour can be achieved by passing --test-fail-when-no-test-suites.

Sessions with new changes:

$ cabal v2-test
Resolving dependencies...
No tests to run for the package initsample-0.1.0.0

$ cabal v2-test --test-fail-when-no-test-suites
Resolving dependencies...
cabal: Cannot run tests for the target '' which refers to the package
initsample-0.1.0.0 because it does not contain any test suites.
parent 9ff21a71
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment