cabal test -v3 should output command line used to run test binary #919

bos opened this Issue May 24, 2012 · 3 comments

3 participants

Haskell member

(Imported from Trac #929, reported by @tibbe on 2012-03-12)

I was trying to debug a cabal test issue today and in doing that I needed to understand how cabal invoked the test binary (e.g. a stdio-exitcode test suite.) However, passing -v3 to cabal test doesn't cause it to be printed.

Proposed fix: Have cabal test -v3 output all commands being run. Model it after -v3 for e.g. build or install.

@ttuegel ttuegel was assigned May 24, 2012
Haskell member

(Imported comment by @dcoutts on 2012-03-12)

The solution is for the cabal test code to use the standard process running functions that the rest of the Cabal lib uses. That would provide the -v support in the same way as other features, and match what users expect.

If there's any limitations in the existing process running functions that make them unsuitable then we should fix that.

Haskell member

(Imported comment by @kosmikus on 2012-03-27)

This seems to affect the library test code, not the install tool.

@23Skidoo 23Skidoo modified the milestone: Cabal-1.22, Cabal-1.18 Apr 20, 2014
Haskell member

This issue was fixed long ago.

@ttuegel ttuegel closed this May 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment