[Hackage] #693: Missing instructions for running Cabal's
testsuite
Hackage
cvs-ghc at haskell.org
Fri May 28 11:34:55 EDT 2010
#693: Missing instructions for running Cabal's testsuite
----------------------------+-----------------------------------------------
Reporter: tibbe | Owner:
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: Cabal library | Version: HEAD
Severity: normal | Resolution:
Keywords: | Difficulty: unknown
Ghcversion: | Platform:
----------------------------+-----------------------------------------------
Changes (by duncan):
* status: closed => reopened
* resolution: fixed =>
Comment:
Replying to [comment:6 ttuegel]:
> Actually, I don't think you can test an in-place version of Cabal this
way. Yes, the main testsuite program will be compiled against the new
version of Cabal, but some (most?) of the tests compile and run their own
Setup.hs files, which will pick up the _installed_ version of Cabal
instead of the version you _think_ you are testing.
You're quite right. We would have to extend the tests to take the inplace
package db as a parameter. It's probably not worth it. The README should
just recommend to register the Cabal package under test.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/693#comment:7>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list