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

Hackage cvs-ghc at haskell.org
Wed Apr 25 08:06:46 CEST 2012


#940: cabal build silently ignores test-suites without Build-Depends
----------------------------+-----------------------------------------------
  Reporter:  edsko          |        Owner:  ttuegel           
      Type:  defect         |       Status:  new               
  Priority:  normal         |    Milestone:  Cabal-1.16        
 Component:  Cabal library  |      Version:  1.14.0            
  Severity:  normal         |     Keywords:  test-suite, solver
Difficulty:  unknown        |   Ghcversion:  7.4.1             
  Platform:  Mac OS         |  
----------------------------+-----------------------------------------------
Changes (by ttuegel):

  * keywords:  test-suite => test-suite, solver


Comment:

 This is caused by the modular solver not passing the '--enable-tests' flag
 to configure when the build depends are empty. Using '--solver=topdown'
 works around the problem, so I'm keywording the bug.

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



More information about the cabal-devel mailing list