[Hackage] #811: test-suite type not detected

Hackage cvs-ghc at haskell.org
Mon Apr 18 13:35:32 CEST 2011


#811: test-suite type not detected
----------------------------+-----------------------------------------------
  Reporter:  basvandijk     |        Owner:  ttuegel   
      Type:  defect         |       Status:  new       
  Priority:  normal         |    Milestone:  Cabal-1.10
 Component:  Cabal library  |      Version:  1.10.1.0  
  Severity:  normal         |     Keywords:            
Difficulty:  unknown        |   Ghcversion:            
  Platform:                 |  
----------------------------+-----------------------------------------------

Comment(by duncan):

 Applied the version of the patch sent by email

 {{{
 Fri Apr  1 20:21:13 BST 2011  Thomas Tuegel <ttuegel at gmail.com>
   * Fix for test suite stanzas with conditionals.
   Ticket #811. This fixes a problem where Cabal would fail to detect the
 "type"
   field of a test suite when the test suite contained a conditional.
 Conditionals
   can now be used, with the restriction that the "type" field and the
 appropriate
   "main-is" or "test-module" field must be specified together in any
 conditional
   branch where they occur.
 }}}

 TODO: merge to 1.10 branch.

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



More information about the cabal-devel mailing list