Ticket #940 (closed defect: fixed)
cabal build silently ignores test-suites without Build-Depends
| Reported by: | edsko | Owned by: | kosmikus |
|---|---|---|---|
| Priority: | normal | Milestone: | cabal-install-0.14.2 |
| Component: | cabal-install tool | Version: | 1.14.0 |
| Severity: | normal | Keywords: | test-suite, solver |
| Cc: | Difficulty: | unknown | |
| GHC Version: | 7.4.1 | Platform: | Mac OS |
Description
A section such as
Test-Suite foo
Type: exitcode-stdio-1.0 Main-Is: test-foo.hs
without a Build-Depends will not be built by "cabal build", and a subsequent "cabal test" will then complain "cabal: No test suites enabled. Did you remember to configure with '--enable-tests'?"
Change History
Note: See
TracTickets for help on using
tickets.
