haskell/cabal — pull request #1357 by Jookia (2013-06-04 03:51:44+00:00)
Title: Added initial suppot for test documentation with Haddock.

See #1352.

Notes:
The CTest case is pretty much a duplicate of CExe's case.
testToExe seems like it could be used elsewhere (it was in fact taken from Build.hs)
There's no --all.
There's no --benchmarks.