[Hackage] #847: Cabal ignores multiple test options given with "--test-option{, s}"
#847: Cabal ignores multiple test options given with "--test-option{,s}" ----------------------------+----------------------------------------------- Reporter: ttuegel | Owner: ttuegel Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.10.1.0 Severity: normal | Keywords: Difficulty: normal | Ghcversion: Platform: | ----------------------------+----------------------------------------------- When using {{{--test-option}}} or {{{--test-options}}} on the command line, {{{cabal test}}} only passes the last option given to the test executable. Thanks to waern for reporting. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/847> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#847: Cabal ignores multiple test options given with "--test-option{,s}" ----------------------------+----------------------------------------------- Reporter: ttuegel | Owner: ttuegel Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.10.1.0 Severity: normal | Keywords: Difficulty: normal | Ghcversion: Platform: | ----------------------------+----------------------------------------------- Comment(by ttuegel): I have attached a patch that fixes the Cabal library side of things; unfortunately, cabal-install passes all the options twice. The second patch is adds a unit test to ensure that this kind of thing doesn't happen again. It may be that the unit test should be expanded (I'm open to feedback). -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/847#comment:1> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#847: Cabal ignores multiple test options given with "--test-option{,s}" ----------------------------+----------------------------------------------- Reporter: ttuegel | Owner: ttuegel Type: defect | Status: assigned Priority: normal | Milestone: Component: Cabal library | Version: 1.10.1.0 Severity: normal | Keywords: Difficulty: normal | Ghcversion: Platform: | ----------------------------+----------------------------------------------- Changes (by ttuegel): * status: new => assigned Comment: The two most recent patches I uploaded fix the issue in Cabal-1.10 and Cabal HEAD, respectively. It turns out that the issue with cabal-install is fixed by another change within the library itself, so a separate patch for cabal-install is not necessary. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/847#comment:2> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#847: Cabal ignores multiple test options given with "--test-option{,s}" ----------------------------+----------------------------------------------- Reporter: ttuegel | Owner: ttuegel Type: defect | Status: closed Priority: normal | Milestone: Component: Cabal library | Version: 1.10.1.0 Severity: normal | Resolution: fixed Keywords: | Difficulty: normal Ghcversion: | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * status: assigned => closed * resolution: => fixed Comment: Applied. {{{ Sun May 22 00:20:47 BST 2011 Thomas Tuegel <ttuegel@gmail.com> * Stop cabal-install from duplicating test options. Sat May 21 23:30:29 BST 2011 Thomas Tuegel <ttuegel@gmail.com> * Fix use of multiple test options. Sat May 21 17:45:29 BST 2011 Thomas Tuegel <ttuegel@gmail.com> * Added unit test for test options. }}} -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/847#comment:3> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
participants (1)
-
Hackage