[Hackage] #940: cabal build silently ignores test-suites without Build-Depends

Hackage cvs-ghc at haskell.org
Wed Apr 18 12:31:47 CEST 2012


#940: cabal build silently ignores test-suites without Build-Depends
----------------------------+-----------------------------------------------
  Reporter:  edsko          |        Owner:          
      Type:  defect         |       Status:  new     
  Priority:  normal         |    Milestone:          
 Component:  Cabal library  |      Version:  1.10.2.0
  Severity:  normal         |     Keywords:          
Difficulty:  unknown        |   Ghcversion:  7.4.1   
  Platform:  Mac OS         |  
----------------------------+-----------------------------------------------
 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'?"

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/940>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list