[Hackage] #930: cabal test is dropping --test-option flags

#930: cabal test is dropping --test-option flags ----------------------------+----------------------------------------------- Reporter: tibbe | Owner: ttuegel Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.10.2.0 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ----------------------------+----------------------------------------------- Adding two `--test-option` flags doesn't work correctly. For example, this {{{ cabal test --test-option=--plain }}} causes cabal to (correctly) pass the `--plain` flag to the underlying test-framework binary. However, this {{{ cabal test --test-option=--plain --test-option=--jxml=dist/unit-tests.xml }}} drops it on the ground. Some debug output {{{ cabal test --test-option=--plain --test-option=--jxml=dist/unit-tests.xml -v3 Using external setup method with build-type Custom Creating ./dist/setup (and its parents) Using Cabal library version 1.14.0 Using ./Setup.hs as setup script. ./dist/setup/setup test --verbose=3 --test-options=--jxml=dist/unit- tests.xml --test-option=--jxml=dist/unit-tests.xml }}} There looks like there's an extra newline in the `./dist/setup/setup` invocation, perhaps that's the issue? The problem can be reproduced on Cabal's own test suite. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/930 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#930: cabal test is dropping --test-option flags ----------------------------+----------------------------------------------- Reporter: tibbe | Owner: ttuegel Type: defect | Status: new Priority: normal | Milestone: cabal-install-0.14 Component: Cabal library | Version: 1.10.2.0 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ----------------------------+----------------------------------------------- Changes (by kosmikus): * milestone: => cabal-install-0.14 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/930#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#930: cabal test is dropping --test-option flags ----------------------------+----------------------------------------------- Reporter: tibbe | Owner: ttuegel Type: defect | Status: new Priority: normal | Milestone: Cabal-1.16 Component: Cabal library | Version: 1.10.2.0 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ----------------------------+----------------------------------------------- Changes (by kosmikus): * milestone: cabal-install-0.14 => Cabal-1.16 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/930#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage