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

Hackage cvs-ghc at haskell.org
Wed Apr 25 12:20:35 CEST 2012


#940: cabal build silently ignores test-suites without Build-Depends
---------------------------------+------------------------------------------
  Reporter:  edsko               |        Owner:  kosmikus            
      Type:  defect              |       Status:  closed              
  Priority:  normal              |    Milestone:  cabal-install-0.14.2
 Component:  cabal-install tool  |      Version:  1.14.0              
  Severity:  normal              |   Resolution:  fixed               
  Keywords:  test-suite, solver  |   Difficulty:  unknown             
Ghcversion:  7.4.1               |     Platform:  Mac OS              
---------------------------------+------------------------------------------
Changes (by kosmikus):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Thanks for the analysis, Thomas.

 I think I've fixed it:
 {{{

 commit 4c360d4e6e3a558334880dd0498837171229721b
 Author: Andres Loeh <andres at well-typed.com>
 Date:   Wed Apr 25 12:12:13 2012 +0200

     Handle test and bench stanzas without dependencies properly in modular
 solver.

     During index conversion, the modular solver was discarding test and
     bench stanzas without dependencies. As a result, constraints to enable
     tests and benchmarks were then ignored in the solver.

     This should close issue #940.
 }}}

 Also merged into the cabal-1.14 branch, as it's a solver-only bugfix.

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



More information about the cabal-devel mailing list