
Hi,
On 14 March 2014 17:03, Amy de Buitléir
Question 1 ---------- Until recently, the command
cabal install --enable-tests
used to build and run the tests. Now it seems I need to do
cabal test
which then compiles the tests and runs them. So is the --enable-tests flag doing anything, or is it now obsolete?
Using 'cabal test' is preferable. You don't want to reinstall the package each time you run the test suite.
Question 2 ---------- With my project, I do, in order:
1. cabal sandbox init --sandbox <directory> 2. cabal install --only-dependencies 3. cabal build --ghc-options=-Werror 4. cabal test
But when I do step 3, I get a strange warning message: "The sandbox was created after the package was already configured." Huh? Creating the sandbox was the first thing I did!
Does this still happen with cabal-install HEAD? If it does, please file an issue here: https://github.com/haskell/cabal/issues/new